code: public static UnitResponse createException(Throwable e) {
          return UnitResponse
                  .createError(Group.CODE_EXCEPTION, e, null);
      }
docs: Please pass an exception object to this method, and it returns a newly created response object with error code {@link Group#CODE_EXCEPTION}
  and the exception object as the data.
  
  @param e the exception object.