RouteNotFound
Less than 1 minute
RouteNotFound
Exception raised when no registered route matches the requested path.
class RouteNotFound extends \Hazaar\ExceptionExtends: Hazaar\Exception
This exception represents the standard router miss condition after all matching strategies have been exhausted (loader-based routes, runtime-added routes, and default fallbacks when applicable). It maps to HTTP status code 404.
Methods
__construct
Creates a route-not-found exception.
public __construct(string $path): voidParameters
| Parameter | Type | Description |
|---|---|---|
$path | string | request path that could not be resolved to a route |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000