Overview
Resource errors cover failures related to MCP resources — not found, read failures, and invalid URIs.ResourceNotFoundError includes a custom toJsonRpcError() method that returns an MCP-compliant JSON-RPC error with the resource URI.
Errors thrown during resource lookup, reading, and URI validation.
ResourceNotFoundError includes a custom toJsonRpcError() method that returns an MCP-compliant JSON-RPC error with the resource URI.