mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat: add new error response for 403 (#1330)
Co-authored-by: harsh_sharma_juspay <harsh.sharma@juspay.in> Co-authored-by: Sampras Lopes <lsampras@protonmail.com>
This commit is contained in:
		| @ -367,6 +367,7 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode { | ||||
|             errors::ApiErrorResponse::Unauthorized | ||||
|             | errors::ApiErrorResponse::InvalidJwtToken | ||||
|             | errors::ApiErrorResponse::GenericUnauthorized { .. } | ||||
|             | errors::ApiErrorResponse::AccessForbidden | ||||
|             | errors::ApiErrorResponse::InvalidEphemeralKey => Self::Unauthorized, | ||||
|             errors::ApiErrorResponse::InvalidRequestUrl | ||||
|             | errors::ApiErrorResponse::InvalidHttpMethod | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Mani Chandra
					Mani Chandra