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

io.rocketbase.commons.exception.ValidationErrorCode Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
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 message;

    public ValidationErrorCode(T code) {
        this.code = code;
        message = null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy