Skip to content

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#

MethodDescription
::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,
): self

static

Exception for the input at $path (dot notation, empty for the root) with $message.

ParameterTypeDescription
$pathstring
$messagestring
$previous?Throwable = null
Returns
self

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.