-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from Myongji-Graduate/feat/response-code
feat: response code 설정
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
export const ERROR_CODE = { | ||
// USER | ||
UNREGISTERED_USER: '', | ||
INVALIDATED_STUDENT_NUMBER_TYPE: '', | ||
INVALIDATED_PASSWORD_TPYE: '', | ||
MISMATCHED_PASSWORD: '', | ||
NOT_FOUND_AUTHID: '', | ||
INVALIDATED_AUTHID_TYPE: '', | ||
INCORRECT_PASSWORD: '', | ||
DUPLICATED_STUDENT_NUMBER: '', | ||
DUPLICATED_AUTHID: '', | ||
UNSUPPORTED_STUDENT_NUMBER: '', | ||
INVALIDATED_AUTH_TOKEN: '', | ||
|
||
// COMMON | ||
INTERNAL_SEVER_ERROR: '예상치 못한 에러가 발생했습니다.', | ||
|
||
// RESULT | ||
INVALIDATED_GRADUATION_CATEGORY: '', | ||
UNFITTED_GRADUATION_CATEGORY: '', | ||
|
||
// LECTURE (아래 세개 모두 PDF Parsing에서 발생하는 에러) | ||
INCORRECT_STUDENT_NUMBER: '', | ||
NON_EXISTED_LECTURE: '', | ||
UNSUPPORTED_STUDENT_CATEGORY: '', | ||
} as const; |