summaryrefslogtreecommitdiff
path: root/server/core/App.php
diff options
context:
space:
mode:
authorEoleDev <EoleDev@outlook.fr>2016-02-12 18:01:18 +0100
committerEoleDev <EoleDev@outlook.fr>2016-02-12 18:01:18 +0100
commit6890283bcf2e2f0cd0aa9923a18298fada6426c1 (patch)
treecaebc24ba1ab0007bc5f85edefbaccb025b13842 /server/core/App.php
parent6960c81a1f2d4f39135e7d8cc5fa32c42e36b21c (diff)
Identity Some functions Implementations, App error class binding on authenticate, ErrorManagement Implementation Beginning
Diffstat (limited to 'server/core/App.php')
-rwxr-xr-xserver/core/App.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/server/core/App.php b/server/core/App.php
index ff2e1af..babb3d9 100755
--- a/server/core/App.php
+++ b/server/core/App.php
@@ -64,15 +64,14 @@ class App{
$this->setOutput("token", $this->tokenClass->getBackup());
}catch(BadResponseError $e){
- var_dump($e);
- }catch(UserInputError $e){
- var_dump($e);
- }catch(BaseError $e){
- var_dump($e);
- exit();
- }catch(NotImplementedError $e){
- var_dump($e);
- }
+ $this->errorClass->BadResponseHandler($e);
+ }catch(UserInputError $e){
+ $this->errorClass->UserInputHandler($e);
+ }catch(BaseError $e){
+ $this->errorClass->BaseErrorHandler($e);
+ }catch(NotImplementedError $e){
+ $this->errorClass->NotImplementedHandler($e);
+ }
}