feat: implement exception handling system with error context and policies
This commit is contained in:
10
src/Framework/ExceptionHandling/ExceptionHandler.php
Normal file
10
src/Framework/ExceptionHandling/ExceptionHandler.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Framework\ExceptionHandling;
|
||||
|
||||
use Throwable;
|
||||
|
||||
interface ExceptionHandler
|
||||
{
|
||||
public function handle(Throwable $throwable): void;
|
||||
}
|
||||
Reference in New Issue
Block a user