Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Error Formatting API Documentation
function
from mcp_use.errors.error_formatting import format_error
errorExceptionrequired The exception to format. contextrequired Parameter value
returnsdictA dictionary containing the formatted error.
def format_error(error: Exception, context):
Was this page helpful?