holoscan::config::ConfigErrorCause
holoscan::config::ConfigErrorCause
Borrow one bounded entry from a configuration error’s nested-cause chain.
Instances are stored inside ConfigError. Returned text/excerpt views remain valid only while the owning ConfigError is alive and unmodified. Inspection is allocation-free and thread-safe for concurrent readers of the same immutable error.
Methods
code
Return the stable machine-readable failure category.
token
Return the stable token corresponding to code.
message
Return the copied message bytes.
path
Return the copied rendered path bytes.
source
Return the copied source-name bytes.
excerpt
Return the copied raw excerpt bytes.
message_truncated
Return whether message text was truncated.
path_truncated
Return whether rendered path text was truncated.
source_truncated
Return whether source-name text was truncated.
excerpt_truncated
Return whether excerpt bytes were truncated.
cause_overflow
Return whether deeper causes were discarded after this entry.
operation_stage
Return the operation stage associated with this cause.
destination_state
Return the destination state associated with this cause.