Function: isMCPError()

function isMCPError(error): error is MCPError;

Defined in: mcp/errors.ts:76

Type guard to check if an error is an MCPError

Parameters

Parameter Type
error unknown

Returns

error is MCPError