NAME

Finance::Bank::Bankwest::Error - Finance-Bank-Bankwest error superclass

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

All exceptions thrown by the Finance-Bank-Bankwest distribution are parented by this class. It allows the user to easily identify an error as belonging to this distribution without caring about specifics:

use TryCatch; # for "try" and "catch"
try {
    $session->logout;
}
catch (Finance::Bank::Bankwest::Error $e) {
    warn "logout failed, but don't care";
}

METHODS

MESSAGE

Defined in subclasses that are directly instantiated, and called if the exception is being stringified. Prepares and returns a textual representation of the error message, accessible via the message attribute (see "message" in Throwable::Error).

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.