InvalidArrowFunction
Less than 1 minute
InvalidArrowFunction
Exception thrown when an invalid arrow function is provided.
class InvalidArrowFunction extends \Hazaar\Util\Exception\ExceptionThis exception is used to indicate that an arrow function passed to a method or operation does not meet the required criteria or is malformed.
Methods
__construct
Constructs a new InvalidArrowFunction exception.
public __construct(string $message = 'Invalid arrow function provided.'): voidParameters
| Parameter | Type | Description |
|---|---|---|
$message | string | Optional. A custom error message describing the invalid arrow function. |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000