This commit is contained in:
2021-08-04 15:17:25 +08:00
parent e227fd0729
commit c2a974a58e
3 changed files with 79 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace Server;
use Server\Constrict\Response;
/**
*
*/
interface ExceptionHandlerInterface
{
/**
* @param \Throwable $exception
* @param Response $response
* @return Response
*/
public function emit(\Throwable $exception, Response $response): Response;
}