Skip to content

Commit

Permalink
[BE]: 커스텀 예외 및 에러코드 인터페이스 추가 (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: seokmyungham <gkatjraud1@gmail.com>
  • Loading branch information
ikjo39 and seokmyungham authored Jul 18, 2024
1 parent 14b78b8 commit d074329
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.woowacourse.momo.exception;

import com.woowacourse.momo.exception.code.ErrorCodeType;
import lombok.Getter;

@Getter
public class MomoException extends RuntimeException {

private final ErrorCodeType errorCodeType;

public MomoException(ErrorCodeType errorCodeType) {
this.errorCodeType = errorCodeType;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.woowacourse.momo.exception.code;

public interface ErrorCodeType {

}

0 comments on commit d074329

Please sign in to comment.