The EXCEPTION event occurs when an uncaught exception appears.
This event allows you to create a response for a thrown exception or to modify the thrown exception.
@Event("Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent");
public const EXCEPTION = 'kernel.exception';