
    jof"                         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 )    N)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          L/var/www/html/Alfredo/env/lib/python3.11/site-packages/stripe/oauth_error.pyr   zOAuthError.__init__   s>     	j$((KGT	
 	
 	
 	
 	
    c                     | j         d S t          j        j                            | j         t          j                                        d          S )NV1)values	requestorapi_mode)r   stripeerror_objectOAuthErrorObject_construct_from_APIRequestor_global_instance)r	   s    r   _construct_error_objectz"OAuthError._construct_error_object   sM    >!4"3CC>*;;== D 
 
 	
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/   /   r'   r   r/   c                       e Zd ZdS )UnsupportedResponseTypeErrorNr%   r&   r   r   r1   r1   3   r'   r   r1   )
r   stripe._errorr   r   r$   r)   r+   r-   r/   r1   r&   r   r   <module>r3      sP    % % % % % %
 
 
 
 
 
 
 
2	 	 	 	 	 	 	 		 	 	 	 	
 	 	 		 	 	 	 	* 	 	 		 	 	 	 	
 	 	 		 	 	 	 	
 	 	 		 	 	 	 	: 	 	 	 	 	r   