diff options
Diffstat (limited to 'src/main/java/dev/submelon/exceptions')
| -rw-r--r-- | src/main/java/dev/submelon/exceptions/ItemNotFoundException.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/dev/submelon/exceptions/ItemNotFoundException.java b/src/main/java/dev/submelon/exceptions/ItemNotFoundException.java new file mode 100644 index 0000000..6e37c86 --- /dev/null +++ b/src/main/java/dev/submelon/exceptions/ItemNotFoundException.java @@ -0,0 +1,11 @@ +package dev.submelon.exceptions; + +import io.smallrye.graphql.api.ErrorCode; + +@ErrorCode("item-not-found") +public class ItemNotFoundException extends RuntimeException { + + public ItemNotFoundException(Throwable th) { + super(th); + } +} |
