YmerNode.Mcp.Tools.Messages.Errors (Ymer Node v0.7.0)

Copy Markdown View Source

Translates the messages tool's error reasons into error messages a worker can act on. Called by YmerNode.Mcp.Tools.Messages's Wymcp.Tool.handle_error/1.

Only refusals arrive here. An answer that finds nothing is not an error: it is an answer, and it says when messages started (YmerNode.Messages).

Summary

Functions

format(reason, ctx \\ %{})

message(reason, arg2)