qqq
This commit is contained in:
@@ -127,16 +127,17 @@ class ErrorHandler extends Component implements ErrorInterface
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @throws \ErrorException
|
||||||
* @throws ContainerExceptionInterface
|
* @throws ContainerExceptionInterface
|
||||||
* @throws NotFoundExceptionInterface
|
* @throws NotFoundExceptionInterface
|
||||||
* @throws ReflectionException
|
* @throws ReflectionException
|
||||||
*/
|
*/
|
||||||
public function errorHandler()
|
public function errorHandler()
|
||||||
{
|
{
|
||||||
var_dump(func_get_args());
|
$error = func_get_args();
|
||||||
|
|
||||||
event(new OnSystemError());
|
event(new OnSystemError());
|
||||||
|
|
||||||
debug_print_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT);
|
throw new \ErrorException($error[1], $error[0], 1, $error[2], $error[3]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user