NAME

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

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

SYNOPSIS

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>