NAME

Net::Async::Webservice::UPS::Exception - base exception class for UPS

VERSION

version 0.09_1

DESCRIPTION

This class is based on Throwable and StackTrace::Auto. The "as_string" method should return something readable, with a full stack trace.

ATTRIBUTES

file

The name of the configuration file.

package

The package object that's too big.

request

The request that failed.

response

The failure response returned by the user agent

error

The error data structure extracted from the UPS response.

METHODS

as_string

Generic "something bad happened", with stack trace.

as_string

Mentions the file name, and gives the stack trace.

as_string

Shows the size of the package, and the stack trace.

as_string

Mentions the HTTP method, URL, response status line, and stack trace.

as_string

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

AUTHORS

  • Sherzod B. Ruzmetov <sherzodr@cpan.org>

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

COPYRIGHT AND LICENSE

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

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