mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-31 10:53:02 +00:00 
			
		
		
		
	
		
			
	
	
		
			8 lines
		
	
	
		
			197 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			8 lines
		
	
	
		
			197 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|   | from libs.exception import BaseHTTPException | ||
|  | 
 | ||
|  | 
 | ||
|  | class UnsupportedFileTypeError(BaseHTTPException): | ||
|  |     error_code = "unsupported_file_type" | ||
|  |     description = "File type not allowed." | ||
|  |     code = 415 |