mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-31 19:03:09 +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
 | 
