mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08: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
|