public function ExceptionDataCollector::getMessage

Gets the exception message.

Return value

string The exception message

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ExceptionDataCollector.php, line 62

Class

ExceptionDataCollector
ExceptionDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

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