public function __construct()
 {
     parent::__construct("User with this email already registered", 400);
 }
 public function __construct()
 {
     parent::__construct("Incorrect email or password", 403);
 }
Example #3
0
 /**
  * Check Backend Requirements
  *
  * @throws Next\Cache\Backend\BackendException
  *   APC Extension is not loaded
  */
 protected function checkRequirements()
 {
     if (!extension_loaded('apc')) {
         throw BackendException::unfullfilledRequirements('APC Extension must be loaded before using its Backend!');
     }
 }
Example #4
0
 public function __construct($message = "", $http_response_code = 400)
 {
     parent::__construct($message, $http_response_code);
 }
 public function __construct()
 {
     parent::__construct("User not found", 404);
 }
 public function __construct()
 {
     parent::__construct("Track not found", 404);
 }