The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Seek::Exception::RootInvalid - Data::Seek Invalid Root Exception Class

VERSION

version 0.05

SYNOPSIS

    use Data::Seek::Exception::NodeInvalid;

DESCRIPTION

Data::Seek::Exception::NodeInvalid is a module for is an exception class within Data::Seek which is thrown when a criterion references a root node within the introspected data structure which is not what was expected.

ATTRIBUTES

criterion

    $exception->criterion;

The criterion used against the data which resulted in the exception.

separator

    $exception->separator;

The separator used to denote the hierarchy of the match data and the criterion.

subject

    $exception->subject;

The hierarchy of the match data as an array reference.

target

    $exception->target;

The hierarchy of the criterion as an array reference.

is_array

    $exception->is_array;

True if the node is, during the exception being thrown, an array reference.

is_ending

    $exception->is_ending;

True if the node is, during the exception being thrown, the end of the structure.

is_hash

    $exception->is_hash;

True is the node is, during the exception being thrown, a hash reference.

is_match

    $exception->is_match;

True is the node has, during the exception being thrown, corresponding data.

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.