Requests 2.0.14 API

Exceptions

Table of Contents

Classes

ArgumentCount
Exception for when an incorrect number of arguments are passed to a method.
Status304
Exception for 304 Not Modified responses
Status305
Exception for 305 Use Proxy responses
Status306
Exception for 306 Switch Proxy responses
Status400
Exception for 400 Bad Request responses
Status401
Exception for 401 Unauthorized responses
Status402
Exception for 402 Payment Required responses
Status403
Exception for 403 Forbidden responses
Status404
Exception for 404 Not Found responses
Status405
Exception for 405 Method Not Allowed responses
Status406
Exception for 406 Not Acceptable responses
Status407
Exception for 407 Proxy Authentication Required responses
Status408
Exception for 408 Request Timeout responses
Status409
Exception for 409 Conflict responses
Status410
Exception for 410 Gone responses
Status411
Exception for 411 Length Required responses
Status412
Exception for 412 Precondition Failed responses
Status413
Exception for 413 Request Entity Too Large responses
Status414
Exception for 414 Request-URI Too Large responses
Status415
Exception for 415 Unsupported Media Type responses
Status416
Exception for 416 Requested Range Not Satisfiable responses
Status417
Exception for 417 Expectation Failed responses
Status418
Exception for 418 I'm A Teapot responses
Status428
Exception for 428 Precondition Required responses
Status429
Exception for 429 Too Many Requests responses
Status431
Exception for 431 Request Header Fields Too Large responses
Status500
Exception for 500 Internal Server Error responses
Status501
Exception for 501 Not Implemented responses
Status502
Exception for 502 Bad Gateway responses
Status503
Exception for 503 Service Unavailable responses
Status504
Exception for 504 Gateway Timeout responses
Status505
Exception for 505 HTTP Version Not Supported responses
Status511
Exception for 511 Network Authentication Required responses
StatusUnknown
Exception for unknown status responses
Http
Exception based on HTTP response
InvalidArgument
Exception for an invalid argument passed.
Curl
CURL Transport Exception.
Transport
Transport Exception
Exception
Exception for HTTP requests

        
On this page

Search results