File: //usr/lib/python3/dist-packages/service_identity/__pycache__/exceptions.cpython-310.pyc
o
֞\� � @ s� d Z ddlmZmZmZ ddlZG dd� de�ZejG dd� de ��Z
ejG dd � d e��ZejG d
d� de��Z
ejG dd
� d
e��ZejG dd� de��ZG dd� de �ZdS )z�
All exceptions and warnings thrown by ``service_identity``.
Separated into an own package for nicer tracebacks, you should still import
them from __init__.py.
� )�absolute_import�division�print_functionNc @ � e Zd ZdZdS )�SubjectAltNameWarningz�
Server Certificate does not contain a ``SubjectAltName``.
Hostname matching is performed on the ``CommonName`` which is deprecated.
N��__name__�
__module__�__qualname__�__doc__� r r �=/usr/lib/python3/dist-packages/service_identity/exceptions.pyr
� r c @ s e Zd ZdZe�� Zdd� ZdS )�VerificationErrorz/
Service identity verification failed.
c C s | � � S )N)�__repr__)�selfr r r
�__str__ s zVerificationError.__str__N)r r r
r �attr�ib�errorsr r r r r
r s r c @ � e Zd ZdZe�� ZdS )�DNSMismatchz0
No matching DNSPattern could be found.
N�r r r
r r r �
mismatched_idr r r r
r ! � r c @ r )�SRVMismatchz0
No matching SRVPattern could be found.
Nr r r r r
r * r r c @ r )�URIMismatchz0
No matching URIPattern could be found.
Nr r r r r
r 3 r r c @ r )�IPAddressMismatchz6
No matching IPAddressPattern could be found.
Nr r r r r
r <