Identity Some functions Implementations, App error class binding on authenticate, ErrorManagement Implementation Beginning

This commit is contained in:
EoleDev 2016-02-12 18:01:18 +01:00
parent 6960c81a1f
commit 6890283bcf
3 changed files with 211 additions and 33 deletions

View file

@ -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);
}
}