diff --git a/demo/03/src/main/java/pl/amu/edu/demo/either/ProcessingError.java b/demo/03/src/main/java/pl/amu/edu/demo/either/ProcessingError.java new file mode 100644 index 0000000..02faafa --- /dev/null +++ b/demo/03/src/main/java/pl/amu/edu/demo/either/ProcessingError.java @@ -0,0 +1,11 @@ +package pl.amu.edu.demo.either; + + +import lombok.AllArgsConstructor; +import lombok.ToString; + +@AllArgsConstructor(staticName = "of") +@ToString +public class ProcessingError { + private final String errorMessage; +}