public function ExceptionDataCollector::getCode

Gets the exception code.

Return value

integer The exception code

File

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

Class

ExceptionDataCollector
ExceptionDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

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