McpServer.JsonRpc.Error (HTTP MCP Server v0.6.0)

View Source

Represents a JSON-RPC 2.0 error object.

Summary

Types

t()

@type t() :: %McpServer.JsonRpc.Error{
  code: integer(),
  data: any() | nil,
  message: String.t()
}