code: function throwWapper( callback ) {
    return function( resultSet ) {
      callback(
        resultSet.err || null,
        resultSet.err ? null : resultSet.result,
        ...resultSet.argument
      );
      if ( resultSet.err ) {
        throw resultSet.err;
      }
      return resultSet;
    };
  }
docs: use in finally method, catch a error and throw this error or throw the last error