o
    1_Wc³  ã                   @   sB   d dl Z e jrd dl mZmZmZmZ edƒZG dd„ deƒZdS )é    N)ÚTypeVarÚListÚTupleÚOptionalÚTc                       s    e Zd ZdZ‡ fdd„Z‡  ZS )ÚServiceExceptiona´  Exception thrown by a Service client when an error response was received or some operation failed.

    :param message: Description of the error
    :type message: str
    :param status_code: Status code of the HTTP Response
    :type status_code: int
    :param headers: Headers of the Http response that return the failure
    :type headers: list(tuple(str, str))
    :param body: Body of the HTTP Response
    :type body: object
    c                    s&   t t| ƒ |¡ || _|| _|| _dS )aá  
        Exception thrown by a Service client when an error response was received or some operation failed.

        :param message: Description of the error
        :type message: str
        :param status_code: Status code of the HTTP Response
        :type status_code: int
        :param headers: Headers of the Http response that return the failure
        :type headers: list(tuple(str, str))
        :param body: Body of the HTTP Response
        :type body: object
        N)Úsuperr   Ú__init__Ústatus_codeÚheadersÚbody)ÚselfÚmessager
   r   r   ©Ú	__class__© úJD:\Flask\env\Lib\site-packages\ask_sdk_model/services/service_exception.pyr	   "   s   
zServiceException.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   Ú__classcell__r   r   r   r   r      s    r   )Útypingr   r   r   r   r   Ú	Exceptionr   r   r   r   r   Ú<module>   s
   