mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-10 20:57:06 +08:00
46154c6705
Co-authored-by: jyong <jyong@dify.ai> Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
14 lines
241 B
Python
14 lines
241 B
Python
from services.errors.base import BaseServiceError
|
|
|
|
|
|
class FileNotExistsError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class FileTooLargeError(BaseServiceError):
|
|
description = "{message}"
|
|
|
|
|
|
class UnsupportedFileTypeError(BaseServiceError):
|
|
pass
|