File: //opt/saltstack/salt/lib/python3.10/site-packages/cheroot/__pycache__/errors.cpython-310.pyc
o
�N�g� � @ s d Z ddlmZmZmZ eZddlZddlZG dd� de �Z
G dd� de �ZG dd � d e �Zd
d� Z
e
dd
�Ze
ddddddddddddddddd�Ze�d� e�d � e
d!d"d#�Zejd$krne�e
d%�� e�e
d%�� ejejejejhZ zeefZW dS ey� d&ZY dS w )'z<Collection of exceptions raised and/or processed by Cheroot.� )�absolute_import�division�print_functionNc @ � e Zd ZdZdS )�MaxSizeExceededz�Exception raised when a client sends more data then acceptable within limit.
Depends on ``request.body.maxbytes`` config option if used within CherryPy
N��__name__�
__module__�__qualname__�__doc__� r r �B/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/errors.pyr � r c @ r )�
NoSSLErrorz>Exception raised when a client speaks HTTP to an HTTPS socket.Nr r r r r
r r r c @ r )�
FatalSSLAlertzCException raised when the SSL implementation signals a fatal alert.Nr r r r r
r r r c G s dh}dd� | D �}t || �S )a Return error numbers for all errors in ``errnames`` on this platform.
The :py:mod:`errno` module contains different global constants
depending on the specific platform (OS). This function will return
the list of numeric values for a given list of potential names.
Nc S s h | ]}t t|d ��qS )N)�getattr�errno)�.0�kr r r
� <setcomp>"