Created
July 4, 2019 09:35
-
-
Save ggluta/9b70589b620ececd1fdf37ffdd6f1b89 to your computer and use it in GitHub Desktop.
Wrapper over the JSONs sent by the error mapper in Spring
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Date; | |
import java.util.List; | |
import com.fasterxml.jackson.annotation.JsonInclude; | |
import lombok.Builder; | |
import lombok.Getter; | |
import nl.abnamro.ignition.api.common.domain.model.Violation; | |
@JsonInclude(JsonInclude.Include.NON_NULL) | |
@Builder | |
@Getter | |
public class ErrorDetails { | |
private Date timestamp; | |
private String message; | |
private List<Violation> violations; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment