NAME

BZ::Client::Exception - Exception class thrown by BZ::Client in case of errors.

VERSION

version 1.062_2

SYNOPSIS

BZ::Client does not return error codes or do similar stuff. Instead, it throws instances of BZ::Client::Exception.

my $exception = BZ::Client::Exception->new( message     => $message,
                                            http_code   => $httpCode,
                                            xmlrpc_code => $xmlrpcCode);

BZ::Client::Exception->throw( message     => $message,
                              http_code   => $httpCode,
                              xmlrpc_code => $xmlrpcCode);

SEE ALSO

L<BZ::Client>

AUTHORS

  • Dean Hamstead <dean@bytefoundry.com.au>

  • Jochen Wiedmann <jochen.wiedmann@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Dean Hamstad.

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