first commit
This commit is contained in:
13
MeetSpot/app/exceptions.py
Normal file
13
MeetSpot/app/exceptions.py
Normal file
@@ -0,0 +1,13 @@
|
||||
class ToolError(Exception):
|
||||
"""Raised when a tool encounters an error."""
|
||||
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
|
||||
|
||||
class OpenManusError(Exception):
|
||||
"""Base exception for all OpenManus errors"""
|
||||
|
||||
|
||||
class TokenLimitExceeded(OpenManusError):
|
||||
"""Exception raised when the token limit is exceeded"""
|
||||
Reference in New Issue
Block a user