Skip to content

Commit 8e21ef2

Browse files
authored
Make the base exception extend throwable
This makes it more clear this interface can be 'caught'
1 parent 480c077 commit 8e21ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception/ExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
*
1919
* @author Kévin Dunglas <[email protected]>
2020
*/
21-
interface ExceptionInterface
21+
interface ExceptionInterface extends \Throwable
2222
{
2323
}

0 commit comments

Comments
 (0)