관리-도구
편집 파일: exceptions.cpython-34.pyc
� �ReU � @ sD d Z d d l m Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e e � Z Gd d � d e e � Z Gd d � d e e � Z Gd d � d e � Z Gd d � d e e � Z d S)za requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. � )� HTTPErrorc s( e Z d Z d Z � f d d � Z � S)�RequestExceptionzOThere was an ambiguous exception that occurred while handling your request.c s� | j d d � } | | _ | j d d � | _ | d k rg | j rg t | d � rg | j j | _ n t t | � j | | � d S)zT Initialize RequestException with `request` and `response` objects. �responseN�request)�popr r �hasattr�superr �__init__)�self�args�kwargsr )� __class__� �:/tmp/pip-ztkk0jow-build/pip/_vendor/requests/exceptions.pyr s zRequestException.__init__)�__name__� __module__�__qualname__�__doc__r r r )r r r s r c @ s e Z d Z d Z d S)r zAn HTTP error occurred.N)r r r r r r r r r s r c @ s e Z d Z d Z d S)�ConnectionErrorzA Connection error occurred.N)r r r r r r r r r "