The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::OpenXchange::X::HTTP - Exception class for HTTP errors

VERSION

version 0.001

SYNOPSIS

        Net::OpenXchange::X::HTTP->throw({
            request => $req,
            response => $res,
        });

Net::OpenXchange::X::HTTP is an exception class used for errors on the HTTP level that occur before decoding OpenXchange's JSON response body.

ATTRIBUTES

request

Required, instance of HTTP::Request which was sent.

response

Required, instance of HTTP::Response which was received and contained the error

message

Defaults to a string describing the error with HTTP status line, request URI and request method.

AUTHOR

Maximilian Gass <maximilian.gass@credativ.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Maximilian Gass.

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