pub fn panic_error(what: &str, err: impl Into<Error>) -> !