6188617037
Environment Corruption Check / test-python-versions (3.12.8) (push) Failing after 2s
Environment Corruption Check / test-python-versions (3.11.11) (push) Failing after 1s
Pre-commit checks / pre-commit-check (push) Failing after 1s
Environment Corruption Check / test-python-versions (3.13.2) (push) Failing after 4s
14 lines
332 B
Python
14 lines
332 B
Python
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"""
|