pub fn edit_error_ref(err: &Error) -> Option<&EditError>
Downcast an anyhow error chain to EditError when present.
anyhow
EditError