mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	fix(connector): [NEXIXPAY] Add Validation Checks for Request Fields (#8345)
Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
This commit is contained in:
		 Sayak Bhattacharya
					Sayak Bhattacharya
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							7338a8db85
						
					
				
				
					commit
					6fd7626c99
				
			| @ -161,6 +161,13 @@ pub enum ConnectorError { | ||||
|     }, | ||||
|     #[error("{flow} flow not supported by {connector} connector")] | ||||
|     FlowNotSupported { flow: String, connector: String }, | ||||
|     #[error("Connector '{connector}' rejected field '{field_name}': length {received_length} exceeds maximum of {max_length}'")] | ||||
|     MaxFieldLengthViolated { | ||||
|         connector: String, | ||||
|         field_name: String, | ||||
|         max_length: usize, | ||||
|         received_length: usize, | ||||
|     }, | ||||
|     #[error("Capture method not supported")] | ||||
|     CaptureMethodNotSupported, | ||||
|     #[error("Missing connector transaction ID")] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user