Файловый менеджер - Редактировать - /usr/lib/python3/dist-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-310.pyc
Ðазад
o !��hv � @ s� d Z ddlmZ ddlmZ G dd� de�ZG dd� de�Z G d d � d e e�ZG dd� de�ZG d d� de�Z G dd� de �ZG dd� de �ZG dd� de�Z G dd� de e �ZG dd� de �ZG dd� de�ZG dd� de�ZG dd� dee�ZG dd � d ee�ZG d!d"� d"ee�ZG d#d$� d$ee�ZG d%d&� d&e�ZG d'd(� d(e�ZG d)d*� d*ee�ZG d+d,� d,ee�ZG d-d.� d.e�ZG d/d0� d0e�ZG d1d2� d2e�ZG d3d4� d4ee �Z!G d5d6� d6e�Z"d7S )8z` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. � )� HTTPError� )�JSONDecodeErrorc s e Zd ZdZ� fdd�Z� ZS )�RequestExceptionzTThere was an ambiguous exception that occurred while handling your request. c s\ |� dd�}|| _|� dd�| _|dur!| js!t|d�r!| jj| _tt| �j|i |�� dS )zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr r �hasattr�superr �__init__)�self�args�kwargsr �� __class__� �A/usr/lib/python3/dist-packages/pip/_vendor/requests/exceptions.pyr s � zRequestException.__init__)�__name__� __module__�__qualname__�__doc__r � __classcell__r r r r r s r c @ � e Zd ZdZdS )�InvalidJSONErrorzA JSON error occurred.N�r r r r r r r r r � r c @ r )r z"Couldn't decode the text into jsonNr r r r r r "