isdashboard/src/main/java/org/gcube/isdashboard/web/rest/errors/ErrorConstants.java

14 lines
508 B
Java
Executable File

package org.gcube.isdashboard.web.rest.errors;
import java.net.URI;
public final class ErrorConstants {
public static final String ERR_VALIDATION = "error.validation";
public static final String PROBLEM_BASE_URL = "https://www.jhipster.tech/problem";
public static final URI DEFAULT_TYPE = URI.create(PROBLEM_BASE_URL + "/problem-with-message");
public static final URI CONSTRAINT_VIOLATION_TYPE = URI.create(PROBLEM_BASE_URL + "/constraint-violation");
private ErrorConstants() {}
}