Net::Async::Webservice::Common::Exception
version 1.0.0
These classes are based on Throwable and StackTrace::Auto. The "as_string" method should return something readable, with a full stack trace.
Net::Async::Webservice::Common::Exception - exception classes
Base class.
as_string
Generic "something bad happened", with stack trace.
Net::Async::Webservice::Common::Exception::ConfigError
exception thrown when the configuration file can't be parsed
file
The name of the configuration file.
Mentions the file name, and gives the stack trace.
Net::Async::Webservice::Common::Exception::HTTPError
exception thrown when the HTTP request fails
request
The request that failed.
response
The failure response returned by the user agent
more_info
Additional error information, usually set when there is no response at all (failures in name lookup or connection, for example).
Mentions the HTTP method, URL, response status line, and stack trace.
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
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.
To install Net::Async::Webservice::Common, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::Webservice::Common
CPAN shell
perl -MCPAN -e shell install Net::Async::Webservice::Common
For more information on module installation, please visit the detailed CPAN module installation guide.