Skip to content

Commit

Permalink
fix(exception): make renderable exception throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
imdhemy committed Mar 17, 2024
1 parent 4f39237 commit 46590c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Exception/RenderableExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
namespace Symblaze\Bundle\Http\Exception;

use Symfony\Component\HttpFoundation\Response;
use Throwable;

/**
* All exceptions that should create a response should implement this interface.
*/
interface RenderableExceptionInterface
interface RenderableExceptionInterface extends Throwable
{
/**
* Render the exception into a response.
Expand Down

0 comments on commit 46590c3

Please sign in to comment.