set_exception_handler
laravel/framework
Supported Versions: PHP 5, PHP 7, PHP 8
Sets a user-defined exception handler function
set_exception_handler
(?callable
$callback
): ?callable
set_error_handler
(
$this
->
forwardsTo
(
'handleError'
));
set_exception_handler
(
$this
->
forwardsTo
(
'handleException'
));
register_shutdown_function
(
$this
->
forwardsTo
(
'handleShutdown'
));
src/Illuminate/Foundation/Bootstrap/HandleExceptions.php