pub fn err_msg<D>(kind: IndyCryptoErrorKind, msg: D) -> IndyCryptoErrorwhere D: Display + Debug + Send + Sync + 'static,