From 7ae12fd42feced86c2a61f825a31cfa903231f6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Dyda?= Date: Thu, 17 Nov 2022 14:51:25 +0100 Subject: [PATCH] We need ProcessingError in repository. --- .../java/pl/amu/edu/demo/either/ProcessingError.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 demo/03/src/main/java/pl/amu/edu/demo/either/ProcessingError.java 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; +}