Logo
Explore Help
Register Sign In
admin/dify
1
0
Fork 0
You've already forked dify
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
3bb67885ef91e1995589b43a855820aca4b3c1be
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.25.2 Page: 662ms Template: 2ms
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