code: public static AckErrorCode of(String value) {
          return value == null ? null : new AckErrorCode(Values.fromValue(value), value);
      }
docs: Create a new {@link AckErrorCode} from the String value.
  
  @param value String value of the error code.
  @return An {@link AckErrorCode} or null if the value was null.