G6KExceptionListener
class G6KExceptionListener
Custom exception listener
Properties
protected KernelInterface | $kernel | ||
protected Environment | $twig |
Methods
void
__construct(KernelInterface $kernel, Environment $twig)
Constructor of class G6KExceptionListener
void
onKernelException(ExceptionEvent $event)
The listener for the exception event
Response
htmlResponse(Request $request, Exception $exception)
Renders a HTML response with the exception for the simulation engine
Response
htmlAdminResponse(Exception $exception)
Renders a HTML response with the exception for the administration module
Response
Details
at line 47
void
__construct(KernelInterface $kernel, Environment $twig)
Constructor of class G6KExceptionListener
at line 60
void
onKernelException(ExceptionEvent $event)
The listener for the exception event
at line 83
protected Response
htmlResponse(Request $request, Exception $exception)
Renders a HTML response with the exception for the simulation engine
at line 150
protected Response
htmlAdminResponse(Exception $exception)
Renders a HTML response with the exception for the administration module
at line 198
protected Response
jsonResponse(Request $request, Exception $exception)
Renders a JSON response with the exception
at line 237
protected string
trace(Exception $e, array $seen = null)
Makes an HTML trace of the exception