You are here

public function ConsoleExceptionEvent::getException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Event/ConsoleExceptionEvent.php \Symfony\Component\Console\Event\ConsoleExceptionEvent::getException()

Returns the thrown exception.

Return value

\Exception The thrown exception

File

vendor/symfony/console/Event/ConsoleExceptionEvent.php, line 41

Class

ConsoleExceptionEvent
Allows to handle exception thrown in a command.

Namespace

Symfony\Component\Console\Event

Code

public function getException() {
  return $this->exception;
}