public function __construct()
 {
     $message = 'The requested route method is not allowed!';
     parent::__construct($message, 404, null, ['URI' => Router::formatURI($_SERVER['REQUEST_URI']), 'Method' => $_SERVER['REQUEST_METHOD']]);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     $message = 'The requested route does not exist!';
     parent::__construct($message, 404, null, ['URI' => Router::formatURI($_SESSION['REQUEST_URI'])]);
 }