io.rocketbase.commons.exception.ValidationErrorCode Maven / Gradle / Ivy
package io.rocketbase.commons.exception;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
@Getter
@EqualsAndHashCode(of = "code")
@RequiredArgsConstructor
public class ValidationErrorCode> {
private final T code;
private final String field;
private final String message;
public ValidationErrorCode(T code) {
this.code = code;
message = null;
field = null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy