The Exception Handler: Reportable & Renderable Exceptions
- Report.
- Render.
- <?php namespace App\Exceptions; use Exception; class RenderException extends Exception { /** * Report the exception. * * @return void */ public function report() { // } /** * Render the exception into an HTTP response. * * @param \Illuminate\Http\Request * @return \Illuminate\Http\Response */ public function render($request) { return response(...); } }.
Related concepts
→
Reportable & Renderable Exceptions
→