mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-15 18:23:26 +03:00
13 lines
291 B
PHP
13 lines
291 B
PHP
<?php
|
|
|
|
class ExceptionHandlerThird implements \Pecee\Handlers\IExceptionHandler
|
|
{
|
|
public function handleError(\Pecee\Http\Request $request, \Exception $error) : void
|
|
{
|
|
global $stack;
|
|
$stack[] = static::class;
|
|
|
|
throw new ResponseException('ExceptionHandler loaded');
|
|
}
|
|
|
|
} |