mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 19:36:53 +08:00
Feat/assistant app (#2086)
Co-authored-by: chenhe <guchenhe@gmail.com> Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
This commit is contained in:
20
api/core/tools/errors.py
Normal file
20
api/core/tools/errors.py
Normal file
@@ -0,0 +1,20 @@
|
||||
class ToolProviderNotFoundError(ValueError):
|
||||
pass
|
||||
|
||||
class ToolNotFoundError(ValueError):
|
||||
pass
|
||||
|
||||
class ToolParamterValidationError(ValueError):
|
||||
pass
|
||||
|
||||
class ToolProviderCredentialValidationError(ValueError):
|
||||
pass
|
||||
|
||||
class ToolNotSupportedError(ValueError):
|
||||
pass
|
||||
|
||||
class ToolInvokeError(ValueError):
|
||||
pass
|
||||
|
||||
class ToolApiSchemaError(ValueError):
|
||||
pass
|
||||
Reference in New Issue
Block a user