Метод | Описание | |
---|---|---|
render ( Illuminate\Http\Request $request, Exception $e ) : Illuminate\Http\Response | Render an exception into an HTTP response. |
Метод | Описание | |
---|---|---|
renderExceptionWithWhoops ( Exception $e, string $json = false ) : Illuminate\Http\Response | Render an exception using Whoops. | |
shouldUseCustomHandler ( Exception $e ) : boolean | Determine if the custom exception handler should be used. |
public render ( Illuminate\Http\Request $request, Exception $e ) : Illuminate\Http\Response | ||
$request | Illuminate\Http\Request | |
$e | Exception | |
Результат | Illuminate\Http\Response |
protected renderExceptionWithWhoops ( Exception $e, string $json = false ) : Illuminate\Http\Response | ||
$e | Exception | The Exception object |
$json | string | Whether to use the JsonResponseHandler instead of the PrettyPageHandler. |
Результат | Illuminate\Http\Response |
protected shouldUseCustomHandler ( Exception $e ) : boolean | ||
$e | Exception | |
Результат | boolean |