flow::error

Function to_status_with_last_err

Source
pub fn to_status_with_last_err(err: impl ErrorExt) -> Status
Expand description

the outer message is the full error stack, and inner message in header is the last error message that can be show directly to user