Checks if the exception is not null.
Return value
Boolean true if the exception is not null, false otherwise
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ExceptionDataCollector.php, line 43
Class
- ExceptionDataCollector
- ExceptionDataCollector.
Namespace
Symfony\Component\HttpKernel\DataCollector
Code
public function hasException() {
return isset($this->data['exception']);
}