mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
ce276bd5b7
- Easier rewrite management. - Optimisations. - Updated documentation.
12 lines
282 B
PHP
12 lines
282 B
PHP
<?php
|
|
|
|
class TestExceptionHandlerThird implements \Pecee\Handlers\IExceptionHandler
|
|
{
|
|
public function handleError(\Pecee\Http\Request $request, \Exception $error)
|
|
{
|
|
echo 'ExceptionHandler 3 loaded' . chr(10);
|
|
|
|
throw new ExceptionHandlerException('All good!', 666);
|
|
}
|
|
|
|
} |