NAME

Data::Seek::Exception::NodeUnknown - Data::Seek Unknown Node Exception Class

VERSION

version 0.06

SYNOPSIS

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

DESCRIPTION

Data::Seek::Exception::NodeInvalid is an exception class within Data::Seek which is thrown when a criterion references a child node within the introspected data structure which does not exist.

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.

was_array

$exception->was_array;

True if the node prior to the exception being thrown was an array reference.

was_ending

$exception->was_ending;

True if the node prior to the exception being thrown was the end of the structure.

was_hash

$exception->was_hash;

True is the node prior to the exception being thrown was a hash reference.

was_match

$exception->was_match;

True is the node prior to the exception being thrown had 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.