
    xh'                     >     G d  de           Z G d de          ZdS )c                       e Zd ZdZdS )SendGridExceptionz*Wrapper/default SendGrid-related exceptionN)__name__
__module____qualname____doc__     S/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/exceptions.pyr   r      s        44Dr	   r   c                       e Zd ZdZ	 	 d
dZed             Zej        d             Zed             Zej        d             Zd	S )ApiKeyIncludedExceptionzJException raised for when Twilio SendGrid API Key included in message text
Email body Twilio SendGrid API Key detectedc                 J    d| _         d| _        ||| _        |	|| _        dS dS )a  Create an exception for when Twilio SendGrid API Key included in message text

            :param expression: Input expression in which the error occurred
            :type expression: string
            :param message: Explanation of the error
            :type message: string
        N)_expression_message
expressionmessage)selfr   r   s      r
   __init__z ApiKeyIncludedException.__init__   s9      !(DO"DLLL r	   c                     | j         S )zMInput expression in which the error occurred

        :rtype: string
        r   r   s    r
   r   z"ApiKeyIncludedException.expression!   s     r	   c                     || _         dS )zInput expression in which the error occurred

        :param value: Input expression in which the error occurred
        :type value: string
        Nr   r   values     r
   r   z"ApiKeyIncludedException.expression)   s     !r	   c                     | j         S )z9Explanation of the error

        :rtype: string
        r   r   s    r
   r   zApiKeyIncludedException.message2   s     }r	   c                     || _         dS )zmExplanation of the error

        :param value: Explanation of the error
        :type value: string
        Nr   r   s     r
   r   zApiKeyIncludedException.message:   s     r	   N)r   r   )	r   r   r   r   r   propertyr   setterr   r   r	   r
   r   r      s        TT );# # # #&     X  ! ! !   X ^  ^  r	   r   N)	Exceptionr   r   r   r	   r
   <module>r"      sd   	 	 	 	 		 	 	 	
6 6 6 6 6/ 6 6 6 6 6r	   