
     h                         d dl mZmZmZ d dlZd dlmZ  G d de          Z G d de          Z G d d	e          Z	 G d
 de          Z
 G d de          Z G d de          Z G d de          ZdS )    )absolute_importdivisionprint_functionN)StripeErrorc                   .     e Zd Z	 	 	 	 d fd	Zd Z xZS )
OAuthErrorNc                 b    t          t          |                               ||||||           d S N)superr   __init__)selfcodedescription	http_bodyhttp_status	json_bodyheaders	__class__s          N/var/www/html/Sam_Eipo/venv/lib/python3.11/site-packages/stripe/oauth_error.pyr   zOAuthError.__init__   s>     	j$((KGT	
 	
 	
 	
 	
    c                     | j         d S t          j        j        j                            | j         t          j                  S r
   )r   stripeapi_resourceserror_objectOAuthErrorObjectconstruct_fromapi_key)r   s    r   construct_error_objectz!OAuthError.construct_error_object   s;    >!4  ->MM 	
r   )NNNN)__name__
__module____qualname__r   r   __classcell__)r   s   @r   r   r      sZ        
 
 
 
 
 
 

 
 
 
 
 
 
r   r   c                       e Zd ZdS )InvalidClientErrorNr   r    r!    r   r   r$   r$               Dr   r$   c                       e Zd ZdS )InvalidGrantErrorNr%   r&   r   r   r)   r)   $   r'   r   r)   c                       e Zd ZdS )InvalidRequestErrorNr%   r&   r   r   r+   r+   (   r'   r   r+   c                       e Zd ZdS )InvalidScopeErrorNr%   r&   r   r   r-   r-   ,   r'   r   r-   c                       e Zd ZdS )UnsupportedGrantTypeErrorNr%   r&   r   r   r/   r/   0   r'   r   r/   c                       e Zd ZdS )UnsupportedResponseTypeErrorNr%   r&   r   r   r1   r1   4   r'   r   r1   )
__future__r   r   r   r   stripe.errorr   r   r$   r)   r+   r-   r/   r1   r&   r   r   <module>r4      sn   @ @ @ @ @ @ @ @ @ @  $ $ $ $ $ $
 
 
 
 
 
 
 
2	 	 	 	 	 	 	 		 	 	 	 	
 	 	 		 	 	 	 	* 	 	 		 	 	 	 	
 	 	 		 	 	 	 	
 	 	 		 	 	 	 	: 	 	 	 	 	r   