Data::Object::Exception

Data-Object Exception Class

use Data::Object::Exception;

my $exception = Data::Object::Exception->new;

die $exception;

$exception->throw('Oops');

die $exception->new('Oops')->trace(0);

"$exception" # renders exception message

This package provides functionality for creating, throwing, and introspecting exception objects.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 8:

Unknown directive: =name

Around line 12:

Unknown directive: =abstract

Around line 16:

Unknown directive: =synopsis

Around line 30:

Unknown directive: =description