-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into feat/#4-create-project
# Conflicts: # src/main/java/sixgaezzang/sidepeek/projects/dto/response/MemberSummary.java # src/main/java/sixgaezzang/sidepeek/projects/service/ProjectService.java
- Loading branch information
Showing
7 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
Submodule sidepeek_backend_secret
updated
from e9ae8e to c4f4ae
9 changes: 9 additions & 0 deletions
9
src/main/java/sixgaezzang/sidepeek/common/exception/ErrorCode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package sixgaezzang.sidepeek.common.exception; | ||
|
||
public interface ErrorCode { | ||
|
||
int getCode(); | ||
|
||
String getMessage(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/java/sixgaezzang/sidepeek/projects/exception/ProjectErrorCode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package sixgaezzang.sidepeek.projects.exception; | ||
|
||
import sixgaezzang.sidepeek.common.exception.ErrorCode; | ||
|
||
public enum ProjectErrorCode implements ErrorCode { | ||
|
||
ID_NOT_EXISTING(2001, "해당 프로젝트가 존재하지 않습니다."); | ||
|
||
private final int code; | ||
private final String message; | ||
|
||
ProjectErrorCode(int code, String message) { | ||
this.code = code; | ||
this.message = message; | ||
} | ||
|
||
@Override | ||
public int getCode() { | ||
return code; | ||
} | ||
|
||
@Override | ||
public String getMessage() { | ||
return message; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters