pub fn build_cli_error(message: &str, hint: Option<&str>) -> EventExpand description
Build a CLI error event with optional hint.
Always returns a strict-valid kind:"error" event with code "cli_error",
retryable: false, and an empty trace. An empty message is replaced with
a generic placeholder so the returned event stays strict-valid without panicking.