diff --git a/src/main/java/com/example/daemawiki/global/error/exception/CustomException.java b/src/main/java/com/example/daemawiki/global/error/exception/CustomException.java new file mode 100644 index 00000000..d84ad1bd --- /dev/null +++ b/src/main/java/com/example/daemawiki/global/error/exception/CustomException.java @@ -0,0 +1,11 @@ +package com.example.daemawiki.global.error.exception; + +import com.example.daemawiki.global.error.ErrorCode; +import lombok.AllArgsConstructor; +import lombok.Getter; + +@Getter +@AllArgsConstructor +public class CustomException extends RuntimeException { + private final ErrorCode errorCode; +} \ No newline at end of file