diff options
Diffstat (limited to 'server/core/ErrorManagement.php')
| -rwxr-xr-x | server/core/ErrorManagement.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/server/core/ErrorManagement.php b/server/core/ErrorManagement.php index 6bff61f..3257dd3 100755 --- a/server/core/ErrorManagement.php +++ b/server/core/ErrorManagement.php @@ -1,9 +1,9 @@ <?php
-use OpenStack\Common\Error\BadResponseError;
-use OpenStack\Common\Error\BaseError;
-use OpenStack\Common\Error\NotImplementedError;
-use OpenStack\Common\Error\UserInputError;
+use OpenCloud\Common\Error\BadResponseError;
+use OpenCloud\Common\Error\BaseError;
+use OpenCloud\Common\Error\NotImplementedError;
+use OpenCloud\Common\Error\UserInputError;
Class errorManagement{
@@ -32,8 +32,12 @@ Class errorManagement{ public function UserInputHandler($error){
}
+
+ public function OtherException($error){
+ $this->app->setOutput("Error", $error->getMessage());
+ }
}
-?>
\ No newline at end of file +?>
|
