ResponseInvalid
Less than 1 minute
ResponseInvalid
Exception thrown when a controller action returns an unsupported response.
class ResponseInvalid extends \Hazaar\Controller\Exception\ExceptionRaised during action normalization when the controller return value cannot be converted into a valid framework response object.
Methods
__construct
Creates an invalid-response exception for a controller action.
public __construct(string $controller, string $action): voidParameters
| Parameter | Type | Description |
|---|---|---|
$controller | string | controller class/name that produced the invalid value |
$action | string | action name that returned the invalid response |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000