All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.jhipster.lite.module.domain.resource.ResourceErrorKey Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package tech.jhipster.lite.module.domain.resource;

import tech.jhipster.lite.shared.error.domain.ErrorKey;

enum ResourceErrorKey implements ErrorKey {
  DUPLICATED_SLUG("duplicated-slug"),
  INVALID_TAG("invalid-tag"),
  UNKNOWN_SLUG("unknown-slug");

  private final String key;

  ResourceErrorKey(String key) {
    this.key = key;
  }

  @Override
  public String get() {
    return key;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy