We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c8e679 commit 01f21e1Copy full SHA for 01f21e1
src/Router/RouterCommand.php
@@ -92,7 +92,7 @@ public static function runRoute($command, $params = null, $path = '', $namespace
92
elseif(is_null($params) && in_array($segments[1], get_class_methods($controller)))
93
echo call_user_func([$controller, $segments[1]]);
94
else
95
- return new Exception($segments[1] . ' method is not found in '.$segments[0].' controller. Please, check file.');
+ return new RouterException($segments[1] . ' method is not found in '.$segments[0].' controller. Please, check file.');
96
}
97
98
if(!is_null($params))
0 commit comments