display_error

Function display_error 

Source
pub fn display_error<E: Display + 'static>(e: &E) -> String
Expand description

use this to make sure you have a descriptive message including a stack trace for anyhow errors, and otherwise just display the normal string for other errors.