Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
proc
/
self
/
root
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
pip
/
_vendor
/
requests
/
__pycache__
[ HOME ]
Exec
Submit
File Name : exceptions.cpython-38.pyc
U ʗRe� � @ 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 sT |� dd�}|| _|� dd�| _|dk rB| jsBt|d�rB| jj| _t� j||� dS )zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr r �hasattr�super�__init__)�self�args�kwargsr �� __class__� ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/requests/exceptions.pyr s zRequestException.__init__)�__name__� __module__�__qualname__�__doc__r � __classcell__r r r r r s r c @ s e Zd ZdZdS )�InvalidJSONErrorzA JSON error occurred.N�r r r r r r r r r s r c @ s e Zd ZdZdd� ZdS )r z"Couldn't decode the text into jsonc O s( t j| f|�� tj| f| j�|� dS )a Construct the JSONDecodeError instance first with all args. Then use it's args to construct the IOError so that the json specific args aren't used as IOError specific args and the error message from JSONDecodeError is preserved. N)�CompatJSONDecodeErrorr r r )r r r r r r r "