mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 22:02:12 +00:00
17 lines
366 B
PHP
17 lines
366 B
PHP
<?php
|
|
namespace Pecee\Handler;
|
|
|
|
use Pecee\Http\Request;
|
|
use Pecee\SimpleRouter\RouterEntry;
|
|
|
|
interface IExceptionHandler {
|
|
|
|
/**
|
|
* @param Request $request
|
|
* @param RouterEntry|null $route
|
|
* @param \Exception $error
|
|
* @return Request|null
|
|
*/
|
|
public function handleError(Request $request, RouterEntry &$route = null, \Exception $error);
|
|
|
|
} |