HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/cheroot/__pycache__/errors.cpython-310.pyc
o

�N�g��@sdZddlmZmZmZeZddlZddlZGdd�de	�Z
Gdd�de	�ZGdd	�d	e	�Zd
d�Z
e
dd
�Ze
ddddddddddddddddd�Ze�d�e�d �e
d!d"d#�Zejd$krne�e
d%��e�e
d%��ejejejejhZ	zeefZWdSey�d&ZYdSw)'z<Collection of exceptions raised and/or processed by Cheroot.�)�absolute_import�division�print_functionNc@�eZdZdZdS)�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�rc@r)�
NoSSLErrorz>Exception raised when a client speaks HTTP to an HTTPS socket.Nrrrrr
rrrc@r)�
FatalSSLAlertzCException raised when the SSL implementation signals a fatal alert.Nrrrrr
rrrcGs dh}dd�|D�}t||�S)aReturn 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.
    NcSsh|]}tt|d��qS)N)�getattr�errno)�.0�krrr
�	<setcomp>"sz'plat_specific_errors.<locals>.<setcomp>)�list)ZerrnamesZmissing_attrZunique_numsrrr
�plat_specific_errorssrZEINTRZWSAEINTR�EPIPE�EBADFZWSAEBADF�ENOTSOCKZWSAENOTSOCKZ	ETIMEDOUTZWSAETIMEDOUTZECONNREFUSEDZWSAECONNREFUSED�
ECONNRESETZ
WSAECONNRESETZECONNABORTEDZWSAECONNABORTEDZ	ENETRESETZWSAENETRESETZ	EHOSTDOWNZEHOSTUNREACHz	timed outzThe read operation timed out�EAGAIN�EWOULDBLOCKZWSAEWOULDBLOCK�darwinZ
EPROTOTYPEr)rZ
__future__rrr�typeZ
__metaclass__r�sys�	ExceptionrrrrZsocket_error_eintrZsocket_errors_to_ignore�appendZsocket_errors_nonblocking�platform�extend�ENOTCONNrZ	ESHUTDOWNrZ$acceptable_sock_shutdown_error_codes�BrokenPipeError�ConnectionResetErrorZ#acceptable_sock_shutdown_exceptions�	NameErrorrrrr
�<module>sP
�

�
�
�
�