Xacobeo::Error - A simple wrapper over an error.
use Xacobeo::Error; # As a one time use my $error = Xacobeo::Error->new(xpath => "Failed to parse Xpath expression"); die $error;
This package provides a very simple, perhpaps too simple, error wrapper. This errors are meant to be used as exceptions.
The package defines the following methods:
Emmanuel Rodriguez <email@example.com>.
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.