You are here

public function ExceptionDataCollector::getCode in Zircon Profile 8

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

Gets the exception code.

Return value

int The exception code

File

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

Class

ExceptionDataCollector
ExceptionDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

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