File: //usr/local/CyberPanel/lib/python3.10/site-packages/docker/__pycache__/errors.cpython-310.pyc
o
��h� � @ sf d dl Z edd� dD ��ZG dd� de�Zdd� ZG d d
� d
e jje�ZG dd� de�Z G d
d� de �Z
G dd� de�ZG dd� de�ZG dd� de�Z
G dd� de�ZG dd� de�ZG dd� de�ZG dd� dee�ZG dd� de�ZG dd � d e�ZG d!d"� d"e�ZG d#d$� d$e�Zd%d&� ZG d'd(� d(e�ZG d)d*� d*e�ZG d+d,� d,e�ZG d-d.� d.e�ZdS )/� Nc c s � | ]}|� � V qd S �N)�lower��.0�fragment� r �C/usr/local/CyberPanel/lib/python3.10/site-packages/docker/errors.py� <genexpr> s �
�r )z
no such imagez+not found: does not exist or no pull accesszrepository does not existz3was found but does not match the specified platformc @ s e Zd ZdZdS )�DockerExceptionz�
A base class from which all other exceptions inherit.
If you want to catch all errors that the Docker SDK might raise,
catch this base exception.
N)�__name__�
__module__�__qualname__�__doc__r r r r r
s r
c s� | j }z|�� d }W n ty |jpd�� }Y nw t}|jdkr9|p&d�� � t� fdd�t D ��r7t
}nt}|| ||d�| �)zH
Create a suitable APIError from requests.exceptions.HTTPError.
�message� i� c 3 s � | ]}|� v V qd S r r r ��explanation_msgr r r "