App\Exceptions\Handler Class Reference
Inheritance diagram for App\Exceptions\Handler:
Public Member Functions | |
| report (Exception $e) | |
| Report or log an exception. More... | |
| render ($request, Exception $e) | |
| Render an exception into an HTTP response. More... | |
Protected Attributes | |
| $dontReport | |
Detailed Description
Definition at line 12 of file Handler.php.
Member Function Documentation
| App\Exceptions\Handler::render | ( | $request, | |
| Exception | $e | ||
| ) |
Render an exception into an HTTP response.
- Parameters
-
\Illuminate\Http\Request $request \Exception $e
- Returns
Definition at line 46 of file Handler.php.
| App\Exceptions\Handler::report | ( | Exception | $e | ) |
Report or log an exception.
This is a great spot to send exceptions to Sentry, Bugsnag, etc.
- Parameters
-
\Exception $e
- Returns
- void
Definition at line 34 of file Handler.php.
Member Data Documentation
|
protected |
Initial value:
= [
AuthorizationException::class,
HttpException::class,
ModelNotFoundException::class,
ValidationException::class,
]
Definition at line 19 of file Handler.php.
The documentation for this class was generated from the following file:
