diff --git a/api/src/main/java/com/teamnexters/lazy/api/exception/MemberNotFoundException.java b/api/src/main/java/com/teamnexters/lazy/api/exception/MemberNotFoundException.java new file mode 100644 index 0000000..6ccad96 --- /dev/null +++ b/api/src/main/java/com/teamnexters/lazy/api/exception/MemberNotFoundException.java @@ -0,0 +1,14 @@ +package com.teamnexters.lazy.api.exception; + +import com.teamnexters.lazy.common.error.ErrorCode; +import com.teamnexters.lazy.common.error.exception.BusinessException; +import lombok.Getter; + +@Getter +public class MemberNotFoundException extends BusinessException { + + public MemberNotFoundException(String memberIdx) { + super(String.format("Member Index [%s] not Found", memberIdx), ErrorCode.MEMBER_NOT_FOUND); + } + +}