NAME

Xacobeo::Error - A simple wrapper over an error.

SYNOPSIS

use Xacobeo::Error;

# As a one time use
my $error = Xacobeo::Error->new(xpath => "Failed to parse Xpath expression");
die $error;

DESCRIPTION

This package provides a very simple, perhpaps too simple, error wrapper. This errors are meant to be used as exceptions.

METHODS

The package defines the following methods:

AUTHORS

Emmanuel Rodriguez <potyl@cpan.org>.

COPYRIGHT AND LICENSE

Copyright (C) 2008,2009 by Emmanuel Rodriguez.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.