
    9h                     b     S SK JrJr  / SQr " S S\5      r " S S\5      rg! \ a     N#f = f)    )SchemaParseExceptionUnknownType)SchemaRegistryErrorOAuthTokenErrorr   r   c                   >    \ rS rSrSrSrS\S\S\4S jrS r	S	 r
S
rg)r      at  
Represents an error returned by the Confluent Schema Registry

Args:
    http_status_code (int): HTTP status code

    error_code (int): Schema Registry error code; -1 represents an unknown
        error.

    error_message (str): Description of the error

See Also:
    `API Error Reference <https://docs.confluent.io/current/schema-registry/develop/api.html#errors>`_

http_status_code
error_codeerror_messagec                 (    Xl         X l        X0l        g N)r
   r   r   )selfr
   r   r   s       jC:\Suresh\moveshuttle\MDcreated\moveengine\venv\Lib\site-packages\confluent_kafka/schema_registry/error.py__init__SchemaRegistryError.__init__,   s     0$*    c                     [        U 5      $ r   )strr   s    r   __repr__SchemaRegistryError.__repr__1   s    4yr   c                 d    SR                  U R                  U R                  U R                  5      $ )Nz${} (HTTP status code {}, SR code {}))formatr   r
   r   r   s    r   __str__SchemaRegistryError.__str__4   s/    5<<T=O=O=A=R=R=A__N 	Nr   )r   r   r
   N)__name__
__module____qualname____firstlineno____doc__UNKNOWNintr   r   r   r   __static_attributes__ r   r   r   r      s3     G+ +# +c +
Nr   r   c                   0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )r   :   z/Raised when an OAuth token cannot be retrieved.c                 X   > Xl         X l        X0l        [        TU ]  U SU SU 35        g )Nz (HTTP z): )messagestatus_coderesponse_textsuperr   )r   r)   r*   r+   	__class__s       r   r   OAuthTokenError.__init__<   s2    &*G9GK=M?KLr   )r)   r+   r*   )NN)r   r   r   r    r!   r   r$   __classcell__)r-   s   @r   r   r   :   s    9M Mr   r   N)fastavro.schemar   r   ImportError__all__	Exceptionr   r   r%   r   r   <module>r4      sG   $	A \N) N@Mi MM  		s   % ..