exception_subscriber
class exception_subscriber implements EventSubscriberInterface
Properties
protected language | $language |
Methods
on_error(ConsoleErrorEvent $event)
This listener is run when the ConsoleEvents::ERROR event is triggered.
static
getSubscribedEvents()
No description
Details
at line 31
__construct(language $language)
Constructor.
at line 42
on_error(ConsoleErrorEvent $event)
This listener is run when the ConsoleEvents::ERROR event is triggered.
It translate the error message. If in debug mode the original exception is embedded.
at line 57
static
getSubscribedEvents()
No description