YmerNode.Mcp.Tools.References.Errors (Ymer Node v0.2.1)

Copy Markdown View Source

Translates the references tool's error reasons, optionally with context, into messages a worker can act on. Called by YmerNode.Mcp.Tools.References's Wymcp.Tool.handle_error/1.

Every message names the next call rather than describing the fault, because the reader is an agent deciding what to do next and not a person reading a log.

Summary

Functions

format(reason, ctx \\ %{})

message(changeset, arg2)