client-api: Add ErrorKind::ResourceLimitExceeded
This commit is contained in:
		
							parent
							
								
									962b3da26b
								
							
						
					
					
						commit
						674f2eeb8b
					
				| @ -172,6 +172,14 @@ pub enum ErrorKind { | |||||||
|     #[serde(rename = "M_EXCLUSIVE")] |     #[serde(rename = "M_EXCLUSIVE")] | ||||||
|     #[strum(to_string = "M_EXCLUSIVE")] |     #[strum(to_string = "M_EXCLUSIVE")] | ||||||
|     Exclusive, |     Exclusive, | ||||||
|  | 
 | ||||||
|  |     /// M_RESOURCE_LIMIT_EXCEEDED
 | ||||||
|  |     #[serde(rename = "M_RESOURCE_LIMIT_EXCEEDED")] | ||||||
|  |     #[strum(to_string = "M_RESOURCE_LIMIT_EXCEEDED")] | ||||||
|  |     ResourceLimitExceeded { | ||||||
|  |         /// A URI giving a contact method for the server administrator.
 | ||||||
|  |         admin_contact: String, | ||||||
|  |     }, | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /// A Matrix Error without a status code
 | /// A Matrix Error without a status code
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user