
                         <   S 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 " 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)z(Errors thrown by apiproxy.MakeSyncCall.
c                       \ rS rSrSrSrg)Error   zBase APIProxy error type. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       7lib/googlecloudsdk/appengine/runtime/apiproxy_errors.pyr   r      s    !r   r   c                       \ rS rSrSrSrg)RPCFailedError   zFRaised by APIProxy calls when the RPC to the application server fails.r   Nr   r   r   r   r   r      s    Nr   r   c                       \ rS rSrSrSrg)CallNotFoundError   zCRaised by APIProxy calls when the requested method cannot be found.r   Nr   r   r   r   r   r          Kr   r   c                       \ rS rSrSrSrg)ArgumentError"   zDRaised by APIProxy calls if there is an error parsing the arguments.r   Nr   r   r   r   r   r   "   s    Lr   r   c                       \ rS rSrSrSrg)DeadlineExceededError&   zRaised by APIProxy calls if the call took too long to respond.

Not to be confused with runtime.DeadlineExceededError.
That one is raised when the overall HTTP response deadline is exceeded.
r   Nr   r   r   r   r   r   &   s    r   r   c                       \ rS rSrSrSrg)CancelledError.   z_Raised by APIProxy calls if the call was cancelled, such as when
the user's request is exiting.r   Nr   r   r   r   r   r   .   s    $r   r   c                   (    \ rS rSrSrSS jrS rSrg)ApplicationError3   z>Raised by APIProxy in the event of an application-level error.c                 F    Xl         X l        [        R                  X5        g N)application_errorerror_detailr   __init__)selfr$   r%   s      r   r&   ApplicationError.__init__5   s    .$	NN4+r   c                 8    SU R                   U R                  4-  $ )NzApplicationError: %d %sr$   r%   r'   s    r   __str__ApplicationError.__str__:   s%    $(>(>(,(9(9(; ; ;r   r*   N) )r   r   r	   r
   r   r&   r,   r   r   r   r   r    r    3   s    F,
;r   r    c                       \ rS rSrSrSrg)OverQuotaError>   zVRaised by APIProxy calls when they have been blocked due to a lack of
available quota.r   Nr   r   r   r   r0   r0   >   s    r   r0   c                       \ rS rSrSrSrg)RequestTooLargeErrorC   z6Raised by APIProxy calls if the request was too large.r   Nr   r   r   r   r3   r3   C   s    >r   r3   c                       \ rS rSrSrSrg)ResponseTooLargeErrorG   z7Raised by APIProxy calls if the response was too large.r   Nr   r   r   r   r6   r6   G   s    ?r   r6   c                       \ rS rSrSrSrg)CapabilityDisabledErrorK   z;Raised by APIProxy when API calls are temporarily disabled.r   Nr   r   r   r   r9   r9   K   s    Cr   r9   c                       \ rS rSrSrSrg)FeatureNotEnabledErrorO   zGRaised by APIProxy when the app must enable a feature to use this call.r   Nr   r   r   r   r<   r<   O   s    Or   r<   c                   >    \ rS rSrSrS r\S 5       r\S 5       rSr	g)InterruptedErrorS   zRaised by APIProxy.Wait() when the wait is interrupted by an uncaught
exception from some callback, not necessarily associated with the RPC in
question.c                 .    SU4U l         X l        Xl        g )NzIThe Wait() request was interrupted by an exception from another callback:)args_InterruptedError__rpc_InterruptedError__exception)r'   	exceptionrpcs      r   r&   InterruptedError.__init__W   s    %&/1DIJ r   c                     U R                   $ r#   )rC   r+   s    r   rF   InterruptedError.rpc]   s    ::r   c                     U R                   $ r#   )rD   r+   s    r   rE   InterruptedError.exceptiona   s    r   )__exception__rpcrB   N)
r   r   r	   r
   r   r&   propertyrF   rE   r   r   r   r   r?   r?   S   s4    !    r   r?   c                       \ rS rSrSrSrg)RpcAuthorityErrorf   zCRaised by APIProxy when loading rpc authority from the environment.r   Nr   r   r   r   rP   rP   f   r   r   rP   N)r   	Exceptionr   r   r   r   r   r   r    r0   r3   r6   r9   r<   r?   rP   r   r   r   <module>rS      s    "I "OU OL LME ME $U $
	;u 	;U 
?5 ?@E @De DPU Pu &L Lr   