API reference / Quittio \ Core \ Exceptions
HydrationException
final class in quittio/core · extends InvalidArgumentException · implements QuittioException
Quittio\Core\Exceptions\HydrationException · Source
Array or JSON input does not match the invoice data model.
Methods#
| Method | Description |
|---|---|
::at() | Exception for the input at $path (dot notation, empty for the root) with $message. |
at()#
public static function at(
string $path,
string $message,
?Throwable $previous = null,
): selfException for the input at $path (dot notation, empty for the root) with $message.
| Parameter | Type | Description |
|---|---|---|
$path | string | |
$message | string | |
$previous | ?Throwable = null |
- Returns
self