Skip to navigation

holoscan::params::format_error

Beta
View as Markdown
HOLOSCAN_PARAMS_EXPORT std::string holoscan::params::format_error(
const ParamToolError &error
)

Render a parameter tooling error as a single line for logs and diagnostics.

The result begins with the stable tooling token and includes any preserved Core or Config cause. Config source excerpts are never included. The wording is intended for people and is not a stable format; use ParamToolError accessors for programmatic decisions.

Returns: Human-readable text without a trailing newline.

Parameters

error
const ParamToolError &

Parameter tooling error to render.