NAME

PAGI::StructuredParameters::Exception::InvalidArrayPointer - Expected an array but found another shape

DESCRIPTION

Raised by PAGI::StructuredParameters when a rule expects an array at a given pointer in nested body data (src => 'data') but the value there is not an arrayref. Subclass of PAGI::StructuredParameters::Exception (HTTP status 400).

METHODS

pointer

The dotted key path whose value was not an array.

message

"Pointer 'cards' is not an array."

AUTHOR

John Napiorkowski <jjnapiork@cpan.org>

COPYRIGHT & LICENSE

Copyright 2026, John Napiorkowski. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.