fix: add RemoteFileUploadError for better error handling in remote fi… (#11933)
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
b8d42cdea7
commit
0b06235527
3 changed files with 23 additions and 8 deletions
|
|
@ -4,3 +4,8 @@ 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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue