NAME

Finance::Bank::Bankwest::Error::WithResponse - make exceptions hold an HTTP::Response

VERSION

This module is part of distribution Finance-Bank-Bankwest v1.2.8.

This distribution's version numbering follows the conventions defined at semver.org.

DESCRIPTION

Exception classes consuming this role provide access to the Bankwest Online Banking response that triggered the exception.

Catching exceptions of this type allows calling code to log responses for later analysis if desired.

ATTRIBUTES

response

An HTTP::Response object holding the response causing the exception to be thrown.

SEE ALSO

AUTHOR

Alex Peters <lxp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Alex Peters.

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

The full text of the license can be found in the LICENSE file included with this distribution.