39 lines
No EOL
727 B
PHP
Executable file
39 lines
No EOL
727 B
PHP
Executable file
<?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){
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
?>
|