LocalizeMcp.Tools.Errors (Localize MCP v0.1.0)

View Source

Implementation of the localize_errors tool.

Returns every Localize.*Error exception module along with its struct fields and (where the module adopts Localize.Exception) the exhaustive list of documented :reason atoms.

Backed by the reason_atoms/0 callback on Localize.Exception, introduced in Localize 0.31.x specifically so tools like this one don't have to grep the source for atom literals.

Summary

Functions

call(params \\ %{})

@spec call(map()) :: map()