Returns the HTTP status code this exception corresponds to (defaults to 500).
public getStatusCode ( ) : integer | ||
Результат | integer |
/** * Return the status code of the nested exception, if any. * * @return integer */ public function getStatusCode() { $nestedException = $this->getPrevious(); if ($nestedException !== null && $nestedException instanceof \Neos\Flow\Exception) { return $nestedException->getStatusCode(); } return parent::getStatusCode(); }