The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Async::Webservice::DHL::Exception

VERSION

version 1.1.1

DESCRIPTION

These classes are based on Throwable and StackTrace::Auto. The "as_string" method should return something readable, with a full stack trace. Their base class is Net::Async::Webservice::Common::Exception.

NAME

Net::Async::Webservice::DHL::Exception - exception classes for DHL

Classes

Net::Async::Webservice::DHL::Exception::ConfigError

exception thrown when the configuration file can't be parsed

Attributes

file

The name of the configuration file.

Methods

as_string

Mentions the file name, and gives the stack trace.

Net::Async::Webservice::DHL::Exception::DHLError

exception thrown when DHL signals an error

Attributes

error

The error data structure extracted from the DHL response.

Methods

as_string

Mentions the description and code of the error, plus the stack trace.

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Net-a-porter.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.