InvalidArrowFunction
Less than 1 minute
InvalidArrowFunction
Exception thrown when an invalid arrow function is provided.
class InvalidArrowFunction extends \Hazaar\ExceptionExtends: Hazaar\Exception
This 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 Fri, 04 Sep 2026 23:32:17 +0000