class Requests_Exception_HTTP {}

In this article

Exception based on HTTP response

Methods

NameDescription
Requests_Exception_HTTP::__constructCreate a new exception
Requests_Exception_HTTP::get_classGet the correct exception class for a given error code
Requests_Exception_HTTP::getReasonGet the status message

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.