Gianni Ceccarelli > Data-MultiValued-0.0.1_4 > Data::MultiValued::Exceptions

Download:
Data-MultiValued-0.0.1_4.tar.gz

Dependencies

Annotate this POD

Module Version: 0.0.1_4   Source  

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.

syntax highlighting: