ActionNotFound
Less than 1 minute
ActionNotFound
Exception thrown when a resolved controller does not expose the requested action.
class ActionNotFound extends \Hazaar\Application\Router\Exception\ExceptionThis is typically raised during route dispatch after controller resolution succeeds but the target action method is missing or not callable. The exception uses HTTP status code 404 to indicate that the requested endpoint could not be fulfilled.
Methods
__construct
Creates an action-not-found exception.
public __construct(string $controller, string $action): voidParameters
| Parameter | Type | Description |
|---|---|---|
$controller | string | fully-qualified or resolved controller name |
$action | string | action name that could not be found on the controller |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000