class ExceptionHandler
ExceptionHandler converts an exception to a Response object. It is mostly useful in debug mode to replace the default PHP/XDebug output with something prettier and more useful. As this class is mainly used during Kernel boot, where nothing is yet available, the Response content is always HTML.
Methods
__construct($debug = true, $charset = null, $fileLinkFormat = null)
static ExceptionHandler register(bool $debug = true, string|null $charset = null, string|nul