Logo
Explore Help
Register Sign In
kexsh/dify
1
0
Fork 0
You've already forked dify
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
fbbff7f5c253aafc545eb5c9657f3cd6bedcd1c7
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.24.5 Page: 1195ms Template: 12ms
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