diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-17 14:01:49 +0100 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-17 14:01:49 +0100 |
| commit | 4819078870a5afed638c4f4045648f580ce65a47 (patch) | |
| tree | cb2b017e8ba75a7e973045da58daf6c3edee55a5 /server/core/ErrorManagement.php | |
| parent | 7e5db6b5420755a76c1efcd87bf2a61b111b4c09 (diff) | |
| parent | 219847749e0cb26f11c0f4231fccdcb73e919d97 (diff) | |
Merge branch 'develop' of github.com:manzerbredes/istic-openstack into develop
Diffstat (limited to 'server/core/ErrorManagement.php')
| -rwxr-xr-x | server/core/ErrorManagement.php | 39 |
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 |
