From 973ae5d54e8db886327e62aaf0edae5b2034b62b Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Sun, 6 Aug 2017 16:34:46 +0200 Subject: [PATCH] Problem Details Exception should be Throwable --- src/Exception/ProblemDetailsException.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Exception/ProblemDetailsException.php b/src/Exception/ProblemDetailsException.php index a84e8ca..ee93af8 100644 --- a/src/Exception/ProblemDetailsException.php +++ b/src/Exception/ProblemDetailsException.php @@ -8,11 +8,12 @@ namespace Zend\ProblemDetails\Exception; use JsonSerializable; +use Throwable; /** * Defines an exception type for generating Problem Details. */ -interface ProblemDetailsException extends JsonSerializable +interface ProblemDetailsException extends JsonSerializable, Throwable { public function getStatus() : int;