invalid params is added
This commit is contained in:
		
							parent
							
								
									63748f4d80
								
							
						
					
					
						commit
						5aae301242
					
				@ -18,3 +18,31 @@ impl fmt::Display for Error {
 | 
				
			|||||||
    )
 | 
					    )
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#[derive(Clone, PartialEq, ::prost::Message)]
 | 
				
			||||||
 | 
					pub struct InvalidParamsDetail {
 | 
				
			||||||
 | 
					  #[prost(string, tag = "1")]
 | 
				
			||||||
 | 
					  pub location: ::prost::alloc::string::String,
 | 
				
			||||||
 | 
					  #[prost(string, tag = "2")]
 | 
				
			||||||
 | 
					  pub param: ::prost::alloc::string::String,
 | 
				
			||||||
 | 
					  #[prost(string, tag = "3")]
 | 
				
			||||||
 | 
					  pub value: ::prost::alloc::string::String,
 | 
				
			||||||
 | 
					  #[prost(enumeration = "InvalidParamsType", tag = "4")]
 | 
				
			||||||
 | 
					  pub error_type: i32,
 | 
				
			||||||
 | 
					  #[prost(string, tag = "5")]
 | 
				
			||||||
 | 
					  pub message: ::prost::alloc::string::String,
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
 | 
				
			||||||
 | 
					#[repr(i32)]
 | 
				
			||||||
 | 
					pub enum InvalidParamsType {
 | 
				
			||||||
 | 
					  DateTime = 0,
 | 
				
			||||||
 | 
					  Decimal = 1,
 | 
				
			||||||
 | 
					  EqualsTo = 2,
 | 
				
			||||||
 | 
					  Float = 3,
 | 
				
			||||||
 | 
					  Integer = 4,
 | 
				
			||||||
 | 
					  Range = 5,
 | 
				
			||||||
 | 
					  RegEx = 6,
 | 
				
			||||||
 | 
					  Required = 7,
 | 
				
			||||||
 | 
					  StringLength = 8,
 | 
				
			||||||
 | 
					  Url = 9,
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user