public function displayError($error) { try { View::make('errors.' . $error)->render(); } catch (\Exception $exc) { Common::headerStatus($error); echo '<h1>' . $error . '</h1>'; exit; } }