2024-11-01 15:51:22 +08:00
|
|
|
from werkzeug.exceptions import HTTPException
|
|
|
|
|
|
|
|
|
|
|
|
class FilenameNotExistsError(HTTPException):
|
|
|
|
code = 400
|
|
|
|
description = "The specified filename does not exist."
|
2024-12-21 21:22:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
class RemoteFileUploadError(HTTPException):
|
|
|
|
code = 400
|
|
|
|
description = "Error uploading remote file."
|