NAME

Data::Type::Exception - base classes for exceptions

INTERFACE

Exceptions are implemented via the 'Error' module. Data::Type::Exception is the base class inheriting from 'Error' and beeing the anchestor of any exception used within this module.

Data::Type::Exception

This exception has following members:

$dte->file

The filename where the exception was thrown.

$dte->line

The line number.

$dte->type

The type 'object' used for verification.

$dte->value

Reference to the data subjected to verification.

$dte->catched

List of embedded sub-exceptions or other diagnostic details.

Data::Type::Facet::Exception

Only interesting if you are creating custom types. This exception is thrown in the verification process if a facet (which is a subelement of the verification process) fails.

CONTACT

Also http://sf.net/projects/datatype is hosting a projects dedicated to this module. And I enjoy receiving your comments/suggestion/reports also via http://rt.cpan.org or http://testers.cpan.org.

AUTHOR

Murat Uenalan, <muenalan@cpan.org>