ExceptionInterface

interface ExceptionInterface Base ExceptionInterface for Dependency Injection component.

ExceptionInterface

interface ExceptionInterface Interface for exceptions. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

ExceptionInterface

interface ExceptionInterface ExceptionInterface.

ExceptionInterface

interface ExceptionInterface Base ExceptionInterface for the Asset component.

ExceptionHandler deprecated

class ExceptionHandler extends ExceptionHandler deprecated since version 2.3, to be removed in 3.0. Use the same class from the Debug component instead. ExceptionHandler converts an exception to a Response object. Methods __construct($debug = true, $charset = null, $fileLinkFormat = null) from ExceptionHandler static ExceptionHandler register(bool $debug = true, string|null $charset = null, string|null $fileLinkFormat = null) Registers the exception handler. from ExceptionHandl

ExceptionHandler

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

ExceptionDataCollector

class ExceptionDataCollector extends DataCollector ExceptionDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. bool hasException() Checks if the exception is not null. Exception getException() Gets the exception. string getMessage() Gets the exception message. int getCode() Gets the exception co

ExceptionController

class ExceptionController ExceptionController. Methods __construct(Profiler $profiler = null, Twig_Environment $twig, $debug) Response showAction(string $token) Renders the exception panel for the given token. Response cssAction(string $token) Renders the exception panel stylesheet for the given token. Details __construct(Profiler $profiler = null, Twig_Environment $twig, $debug) Parameters Profiler $profiler Twig_Environment $twig

ExceptionController

class ExceptionController ExceptionController renders error or exception pages for a given FlattenException. Methods __construct(Twig_Environment $twig, $debug) Response showAction(Request $request, FlattenException $exception, DebugLoggerInterface $logger = null) Converts an Exception to a Response. Details __construct(Twig_Environment $twig, $debug) Parameters Twig_Environment $twig $debug Response show

ExceptionCaster

class ExceptionCaster Casts common Exception classes to array representation. Properties static $srcContext static $traceArgs static $errorTypes Methods static castError(Error $e, array $a, Stub $stub, $isNested, $filter) static castException(Exception $e, array $a, Stub $stub, $isNested, $filter) static castErrorException(ErrorException $e, array $a, Stub $stub, $isNested) static castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub