pub fn error_msg<S: Into<String>, P: Into<String>>( code: Error, message: S, lib_message: P ) -> ErrorInfo