You are here

public function ExceptionDataCollector::getMessage in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/DataCollector/ExceptionDataCollector.php \Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector::getMessage()

Gets the exception message.

Return value

string The exception message

File

vendor/symfony/http-kernel/DataCollector/ExceptionDataCollector.php, line 62

Class

ExceptionDataCollector
ExceptionDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function getMessage() {
  return $this->data['exception']
    ->getMessage();
}