public static forException ( $httpCode, Exception $exception ) | ||
$exception | Exception |
public function runDefaultHandler($exception) { if ($this->needPrettyHandler()) { $run = new Run(); $run->pushHandler(new PrettyPageHandler()); $run->handleException($exception); } else { $this->handleError(OuzoExceptionData::forException(500, $exception)); } }
protected function runDefaultHandler($exception) { $this->handleError(OuzoExceptionData::forException(500, $exception)); }