Data::MultiValued::Exceptions - exception classes
version 0.0.1_4
This module defines a few exception classes, using Throwable::Error as a base class.
Data::MultiValued::Exceptions::NotFound
Base class for "not found" errors. Has a value attribute, containing the value that was not found.
value
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.
from
to
Stringifies to:
invalid range: $from, $to
Gianni Ceccarelli <dakkar@thenautilus.net>
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.
To install Data::MultiValued, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::MultiValued
CPAN shell
perl -MCPAN -e shell install Data::MultiValued
For more information on module installation, please visit the detailed CPAN module installation guide.