get_error_doc
Fetch structured error documentation for any error code, including cause, fix, examples, and related errors. Resolve issues quickly with clear guidance.
Instructions
Fetch the structured error documentation for a given error code.
``what`` and ``why`` come from the in-memory registry
(``echolon.errors.ERROR_CATALOG``); the long-form sections (``fix``,
``example``, ``common_causes``, ``related``) come from the per-code
markdown at ``echolon/native/errors/codes/{code}.md``. The full
markdown body is also returned as ``long_form_markdown`` so an
agent can consume the prose verbatim if the parsed sections are
empty (parser-resilience fallback).
Args:
code: Error code like 'VAL-001' or 'IND-003'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |