pub fn client_message(e: &Error) -> Cow<'_, str>Expand description
The message a trust boundary may show the client for e — the
message-exposure half of ADR-0260 (OPLANE_REQ-00340359), derived from
the one classification beside it: the caller-facing classes carry the
engine’s Display text; the internal class carries the fixed
INTERNAL_MESSAGE, because engine-internal, IO, storage and locked
messages can hold file paths and engine internals. A boundary that
wants the original for its own log reads it itself (it has e) —
this helper never leaks it.