Symfony\Component\HttpKernel\Debug\ExceptionHandler
ExceptionHandler converts an exception to a Response object.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class ExceptionHandler
extends ExceptionHandler
{
- // Inherited methods from ExceptionHandler
- public void __construct()
- public static ExceptionHandler register()
- public void handle()
- public void sendPhpResponse()
- public Response createResponse()
- public string getContent()
- public string getStylesheet()
Hierarchy
Methods
Inherited from Symfony\Component\Debug\ExceptionHandler
public
- createResponse() — Creates the error Response associated with the given Exception.
- getContent() — Gets the HTML content associated with the given exception.
- getStylesheet() — Gets the stylesheet associated with the given exception.
- handle() — Sends a response for the given Exception.
- register() — Registers the exception handler.
- sendPhpResponse() — Sends the error associated with the given Exception as a plain PHP response.