mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-27 00:48:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			277 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			277 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from werkzeug.exceptions import HTTPException
 | |
| 
 | |
| 
 | |
| class FilenameNotExistsError(HTTPException):
 | |
|     code = 400
 | |
|     description = "The specified filename does not exist."
 | |
| 
 | |
| 
 | |
| class RemoteFileUploadError(HTTPException):
 | |
|     code = 400
 | |
|     description = "Error uploading remote file."
 | 
