Logo
Explore Help
Register Sign In
yujunjun/dify
1
0
Fork 0
You've already forked dify
mirror of https://github.com/langgenius/dify.git synced 2025-11-11 00:43:08 +00:00
Code Issues Packages Projects Releases Wiki Activity
dify/api/services/errors/base.py

4 lines
131 B
Python
Raw Normal View History

fix: enhance file upload error handling and update base error class (#12132) Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-26 23:31:29 +08:00
class BaseServiceError(ValueError):
chore: add ast-grep rule to convert Optional[T] to T | None (#25560) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
def __init__(self, description: str | None = None):
chore(api/services): apply ruff reformatting (#7599) Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-26 13:43:57 +08:00
self.description = description
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 847ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API