Typed error thrown when the MCP gateway returns 401 (session expired). Callers can detect this with instanceof MCPSessionExpiredError to trigger re-authentication.
instanceof MCPSessionExpiredError
Typed error thrown when the MCP gateway returns 401 (session expired). Callers can detect this with
instanceof MCPSessionExpiredErrorto trigger re-authentication.