holoscan::config::format_error
holoscan::config::format_error
Render a configuration error as a single line for logs and diagnostics.
The result begins with the stable error token and includes available message, source, path, and retained cause context. Truncated fields are marked. Raw excerpt bytes are never included because they may contain sensitive configuration data. The wording is intended for people and is not a stable format; use ConfigError accessors for programmatic decisions.
Returns: Human-readable text without a trailing newline.
Parameters
error
Configuration error to render.