fatalError); } /** * @return string The fatal error message */ public function getFatalError() { return $this->fatalError; } /** * Sets standard page variables in the case of a controller error. */ public function handleError($exception) { $errorMessage = ErrorHandler::getDetailedMessage($exception); $this->fatalError = $errorMessage; $this->vars['fatalError'] = $errorMessage; } }