The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::MultiValued::Exceptions - exception classes

VERSION

version 0.0.1_4

DESCRIPTION

This module defines a few exception classes, using Throwable::Error as a base class.

CLASSES

Data::MultiValued::Exceptions::NotFound

Base class for "not found" errors. Has a value attribute, containing the value that was not found.

Data::MultiValued::Exceptions::TagNotFound

Subclass of "Data::MultiValued::Exceptions::NotFound", for tags. Stringifies to:

  tag not found: $value

Data::MultiValued::Exceptions::RangeNotFound

Subclass of "Data::MultiValued::Exceptions::NotFound", for ranges. Stringifies to:

  no range found for value: $value

Data::MultiValued::Exceptions::BadRange

Thrown when an invalid range is supplied to a method. An invalid range is a range with from greater than to.

Stringifies to:

  invalid range: $from, $to

AUTHOR

Gianni Ceccarelli <dakkar@thenautilus.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Net-a-Porter.com.

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