ExceptionHandler
in
Table of Contents
- render() : Response
- Render an exception into an HTTP response.
- renderForConsole() : void
- Render an exception to the console.
- report() : void
- Report or log an exception.
Methods
render()
Render an exception into an HTTP response.
public
render(Request $request, Exception $e) : Response
Parameters
- $request : Request
- $e : Exception
Return values
Response —renderForConsole()
Render an exception to the console.
public
renderForConsole(OutputInterface $output, Exception $e) : void
Parameters
- $output : OutputInterface
- $e : Exception
Return values
void —report()
Report or log an exception.
public
report(Exception $e) : void
Parameters
- $e : Exception