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.Objects; | |
public class ValidationError { | |
private final String error; | |
private ValidationError(final String error) { | |
this.error = error; | |
} | |
public static ValidationError from(final String error) { |
OlderNewer