RegistryErrorExceptionBuilder addReason(ErrorEntryTemplate errorEntry) {
    String reason = getReason(errorEntry.getCode(), errorEntry.getMessage());
    addReason(reason);
    return this;
  }
Builds an entry to the error reasons from an {@link ErrorEntryTemplate}.

@param errorEntry the {@link ErrorEntryTemplate} to add
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryErrorExceptionBuilder.java