Skip to content

Commit

Permalink
[#7] MemberNotFoundException 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jun108059 committed Oct 5, 2021
1 parent 184df93 commit bdbfb37
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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);
}

}

0 comments on commit bdbfb37

Please sign in to comment.