McpServer.JsonRpc.Error (MCP SSE v0.1.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()
}