File: //usr/local/CyberCP/lib/python3.10/site-packages/googleapiclient/__pycache__/errors.cpython-310.pyc
o
�hT � @ s d Z ddlmZ dZddlZddlmZ G dd� de�Z G dd � d e �Z
G d
d� de �ZG dd
� d
e �ZG dd� de �Z
G dd� de �ZG dd� de �ZG dd� de �ZG dd� de
�ZG dd� de �ZG dd� de �ZG dd� de
�ZG dd� de �ZG d d!� d!e �ZdS )"z_Errors for the library.
All exceptions defined by the library
should be defined in this file.
� )�absolute_importz$jcgregorio@google.com (Joe Gregorio)N)�_helpersc @ � e Zd ZdZdS )�ErrorzBase error for this module.N��__name__�
__module__�__qualname__�__doc__� r r �I/usr/local/CyberCP/lib/python3.10/site-packages/googleapiclient/errors.pyr � r c @ sD e Zd ZdZe�d�ddd��Zedd� �Zdd � Z d
d� Z
e
ZdS )
� HttpErrorz$HTTP data was invalid or unexpected.� Nc C s8 || _ t|t�std��|| _|| _d| _| �� | _d S )NzHTTP content should be bytes� ) �resp�
isinstance�bytes� TypeError�content�uri�
error_details�_get_reason�reason)�selfr r r r r r �__init__&