Ask a question to get started
Enter to sendā¢Shift+Enter new line
handle_rest_api_error( error: Exception, tool_name: str, operation: str, endpoint: Optional
error
Exception
The REST API exception that occurred
tool_name
str
Name of the tool making the API call
operation
Description of the operation
endpoint
Optional[str]
None
logger_instance
Optional[logging.Logger]
Handle REST API errors specifically.
API endpoint if applicable
Specific logger to use