mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	feat: add connector error (#415)
This commit is contained in:
		| @ -359,6 +359,7 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode { | ||||
|             errors::ApiErrorResponse::RefundFailed { data } => Self::RefundFailed, // Nothing at stripe to map | ||||
|  | ||||
|             errors::ApiErrorResponse::InternalServerError => Self::InternalServerError, // not a stripe code | ||||
|             errors::ApiErrorResponse::ExternalConnectorError { .. } => Self::InternalServerError, | ||||
|             errors::ApiErrorResponse::IncorrectConnectorNameGiven => Self::InternalServerError, | ||||
|             errors::ApiErrorResponse::MandateActive => Self::MandateActive, //not a stripe code | ||||
|             errors::ApiErrorResponse::CustomerRedacted => Self::CustomerRedacted, //not a stripe code | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Nishant Joshi
					Nishant Joshi