summaryrefslogtreecommitdiff
path: root/server/core/ErrorManagement.php
diff options
context:
space:
mode:
authorroot <root@kabir-PC>2016-02-23 20:34:59 +0100
committerroot <root@kabir-PC>2016-02-23 20:34:59 +0100
commitd2f5ae5c83ef5bc41cf430ace79769459b4acbf8 (patch)
treeb48882db52687bdd64a398c7d1844d05dbc01343 /server/core/ErrorManagement.php
parent1eff9ee90bf26127463cae0ae2cb2e1951527591 (diff)
parentff1832adcfe10fadb6cbf738c874611f77f6dd43 (diff)
Merge branch 'develop' of https://github.com/manzerbredes/istic-openstack into othmane
Diffstat (limited to 'server/core/ErrorManagement.php')
-rwxr-xr-xserver/core/ErrorManagement.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/server/core/ErrorManagement.php b/server/core/ErrorManagement.php
new file mode 100755
index 0000000..6bff61f
--- /dev/null
+++ b/server/core/ErrorManagement.php
@@ -0,0 +1,39 @@
+<?php
+
+use OpenStack\Common\Error\BadResponseError;
+use OpenStack\Common\Error\BaseError;
+use OpenStack\Common\Error\NotImplementedError;
+use OpenStack\Common\Error\UserInputError;
+
+
+Class errorManagement{
+
+ protected $app;
+
+
+ public function __construct($args){
+
+ $this->app = $args;
+
+ }
+
+ public function BaseErrorHandler($error){
+
+ }
+
+ public function BadResponseHandler($error){
+ $this->app->setOutput("Error", "Erreur Interne, Merci de contacter un administrateur!");
+ }
+
+ public function NotImplementedHandler($error){
+ $this->app->setOutput("Error", "Erreur Interne, Merci de contacter un administrateur!");
+ }
+
+ public function UserInputHandler($error){
+
+ }
+
+
+}
+
+?> \ No newline at end of file