BZ::Client::Exception - Exception class, which is thrown by


BZ-Client documentation  | view source Contained in the BZ-Client distribution.

Index


NAME

Top

  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

Top

  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

Top

  L<BZ::Client>


BZ-Client documentation  | view source Contained in the BZ-Client distribution.