ó  fH^c@s,dZddlmZdefd„ƒYZdefd„ƒYZdefd„ƒYZd efd „ƒYZd efd „ƒYZd efd„ƒYZ dee fd„ƒYZ de fd„ƒYZ defd„ƒYZ defd„ƒYZ deefd„ƒYZdeefd„ƒYZdeefd„ƒYZdeefd„ƒYZdefd „ƒYZd!efd"„ƒYZd#eefd$„ƒYZd%eefd&„ƒYZd'efd(„ƒYZd)efd*„ƒYZd+efd,„ƒYZd-eefd.„ƒYZd/efd0„ƒYZd1S(2s` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. iÿÿÿÿ(t HTTPErrortRequestExceptioncBseZdZd„ZRS(sTThere was an ambiguous exception that occurred while handling your request. cOs„|jddƒ}||_|jddƒ|_|dk rg|j rgt|dƒrg|jj|_ntt|ƒj||ŽdS(sBInitialize RequestException with `request` and `response` objects.tresponsetrequestN(tpoptNoneRRthasattrtsuperRt__init__(tselftargstkwargsR((srequests/exceptions.pyRs (t__name__t __module__t__doc__R(((srequests/exceptions.pyR sRcBseZdZRS(sAn HTTP error occurred.(R R R(((srequests/exceptions.pyRstConnectionErrorcBseZdZRS(sA Connection error occurred.(R R R(((srequests/exceptions.pyR st ProxyErrorcBseZdZRS(sA proxy error occurred.(R R R(((srequests/exceptions.pyR$stSSLErrorcBseZdZRS(sAn SSL error occurred.(R R R(((srequests/exceptions.pyR(stTimeoutcBseZdZRS(s«The request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. (R R R(((srequests/exceptions.pyR,stConnectTimeoutcBseZdZRS(s‚The request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. (R R R(((srequests/exceptions.pyR5st ReadTimeoutcBseZdZRS(s@The server did not send any data in the allotted amount of time.(R R R(((srequests/exceptions.pyR<st URLRequiredcBseZdZRS(s*A valid URL is required to make a request.(R R R(((srequests/exceptions.pyR@stTooManyRedirectscBseZdZRS(sToo many redirects.(R R R(((srequests/exceptions.pyRDst MissingSchemacBseZdZRS(s/The URL schema (e.g. http or https) is missing.(R R R(((srequests/exceptions.pyRHst InvalidSchemacBseZdZRS(s"See defaults.py for valid schemas.(R R R(((srequests/exceptions.pyRLst InvalidURLcBseZdZRS(s%The URL provided was somehow invalid.(R R R(((srequests/exceptions.pyRPst InvalidHeadercBseZdZRS(s.The header value provided was somehow invalid.(R R R(((srequests/exceptions.pyRTstInvalidProxyURLcBseZdZRS(s"The proxy URL provided is invalid.(R R R(((srequests/exceptions.pyRXstChunkedEncodingErrorcBseZdZRS(s?The server declared chunked encoding but sent an invalid chunk.(R R R(((srequests/exceptions.pyR\stContentDecodingErrorcBseZdZRS(s!Failed to decode response content(R R R(((srequests/exceptions.pyR`stStreamConsumedErrorcBseZdZRS(s2The content for this response was already consumed(R R R(((srequests/exceptions.pyRdst RetryErrorcBseZdZRS(sCustom retries logic failed(R R R(((srequests/exceptions.pyRhstUnrewindableBodyErrorcBseZdZRS(s:Requests encountered an error when trying to rewind a body(R R R(((srequests/exceptions.pyR lstRequestsWarningcBseZdZRS(sBase warning for Requests.(R R R(((srequests/exceptions.pyR!rstFileModeWarningcBseZdZRS(sJA file was opened in text mode, but Requests determined its binary length.(R R R(((srequests/exceptions.pyR"wstRequestsDependencyWarningcBseZdZRS(s@An imported dependency doesn't match the expected version range.(R R R(((srequests/exceptions.pyR#|sN(Rturllib3.exceptionsRt BaseHTTPErrortIOErrorRRRRRRRRRt ValueErrorRRRRRRRt TypeErrorRRR tWarningR!tDeprecationWarningR"R#(((srequests/exceptions.pyts0