public function __construct($route = null, $attemptedResources = [])
 {
     if ($route == '') {
         $route = Router::getRoute();
     }
     parent::__construct("Route [{$route}] is currently not available. " . (count($attemptedResources) ? "Failed to find any of the following resources: [" . implode(", ", $attemptedResources) . "]" : ""));
 }
 public function __construct($route = null)
 {
     if ($route == '') {
         $route = Ntentan::$route;
     }
     parent::__construct("Route {$route} is currently not available.");
 }
 public function __construct($controller, $method)
 {
     parent::__construct("Action \"{$method}\" not found in controller: " . (new \ReflectionClass($controller))->getName());
 }
 public function __construct($method)
 {
     parent::__construct("Method [{$method}] doesn't exist ");
 }