From 1d42345e07b2ef557de3c5049864e6885632b9e9 Mon Sep 17 00:00:00 2001 From: EoleDev Date: Wed, 27 Apr 2016 14:22:59 +0200 Subject: End of comments --- server/core/ErrorManagement.php | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'server/core/ErrorManagement.php') diff --git a/server/core/ErrorManagement.php b/server/core/ErrorManagement.php index 0e315a7..130c488 100755 --- a/server/core/ErrorManagement.php +++ b/server/core/ErrorManagement.php @@ -1,6 +1,6 @@ app->setOutput("Error", "BaseError"); @@ -48,7 +54,7 @@ Class errorManagement{ * * @param Exception $error the exception triggered * - * @return NULL + * @return void */ public function BadResponseHandler($error){ $statusCode = $error->getResponse()->getStatusCode(); @@ -88,7 +94,7 @@ Class errorManagement{ * * @param Exception $error the exception triggered * - * @return NULL + * @return void */ public function NotImplementedHandler($error){ $this->app->setOutput("Error", "Internal error (not implemented yet), please contact an administrator"); @@ -99,7 +105,7 @@ Class errorManagement{ * * @param Exception $error the exception triggered * - * @return NULL + * @return void */ public function UserInputHandler($error){ $this->app->setOutput("Error", "UserInputError"); @@ -110,7 +116,7 @@ Class errorManagement{ * * @param Exception $error the exception triggered * - * @return NULL + * @return void */ public function OtherException($error){ $this->app->setOutput("Error", $error->getMessage()); -- cgit v1.2.3