AttestoMCP.Server.Result.ClientError (attesto_mcp_server v0.14.0)

Copy Markdown View Source

A bounded business error explicitly approved for disclosure to an MCP client.

Construct values with AttestoMCP.Server.Result.error/2 so the public message and optional machine-readable code are validated.

Summary

Types

t()

@type t() :: %AttestoMCP.Server.Result.ClientError{
  code: String.t() | nil,
  message: String.t()
}