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.
FastMCP 4 is here — built for the new MCP protocol. See what's new.
SDK Reference
fastmcp.utilities.exceptions
is_http_status_error
is_http_status_error(exc: BaseException) -> bool
get_http_status_code
get_http_status_code(exc: BaseException) -> int | None
is_timeout_error
is_timeout_error(exc: BaseException) -> bool
is_request_error
is_request_error(exc: BaseException) -> bool
iter_exc
iter_exc(group: BaseExceptionGroup)
get_catch_handlers
get_catch_handlers() -> Mapping[type[BaseException] | Iterable[type[BaseException]], Callable[[BaseExceptionGroup[Any]], Any]]