
    Ch"                         S SK r S SKJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r	g)    N)StripeErrorc                   :   ^  \ rS rSr    SU 4S jjrS rSrU =r$ )
OAuthError   c                 0   > [         [        U ]  X#XEXa5        g )N)superr   __init__)selfcodedescription	http_bodyhttp_status	json_bodyheaders	__class__s          U/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/oauth_error.pyr	   OAuthError.__init__   s     	j$(KG	
    c                     U R                   c  g [        R                  R                  R	                  U R                   [        R
                  R                  5       SS9$ )NV1)values	requestorapi_mode)r   stripeerror_objectOAuthErrorObject_construct_from_APIRequestor_global_instance)r
   s    r   _construct_error_object"OAuthError._construct_error_object   sP    >>!""33CC>>**;;= D 
 	
r    )NNNN)__name__
__module____qualname____firstlineno__r	   r    __static_attributes____classcell__)r   s   @r   r   r      s     
 

 
r   r   c                       \ rS rSrSrg)InvalidClientError   r"   Nr#   r$   r%   r&   r'   r"   r   r   r*   r*          r   r*   c                       \ rS rSrSrg)InvalidGrantError#   r"   Nr,   r"   r   r   r/   r/   #   r-   r   r/   c                       \ rS rSrSrg)InvalidRequestError'   r"   Nr,   r"   r   r   r2   r2   '   r-   r   r2   c                       \ rS rSrSrg)InvalidScopeError+   r"   Nr,   r"   r   r   r5   r5   +   r-   r   r5   c                       \ rS rSrSrg)UnsupportedGrantTypeError/   r"   Nr,   r"   r   r   r8   r8   /   r-   r   r8   c                       \ rS rSrSrg)UnsupportedResponseTypeError3   r"   Nr,   r"   r   r   r;   r;   3   r-   r   r;   )
r   stripe._errorr   r   r*   r/   r2   r5   r8   r;   r"   r   r   <module>r>      s_     %
 
2	 		
 		* 		
 		
 		: 	r   