Skip to content

Commit fe0de08

Browse files
authored
Make validation error sealed type. (#66)
1 parent dd749e6 commit fe0de08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/us/zoom/data/dfence/policies/pattern/models/ValidationError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package us.zoom.data.dfence.policies.pattern.models;
22

3-
public interface ValidationError {
3+
public sealed interface ValidationError {
44
String message();
55

66
record InvalidContainerPolicyPattern(String message) implements ValidationError {}

0 commit comments

Comments
 (0)