Skip to content

코드잽 에러코드

MYONG JAEWI edited this page Aug 21, 2024 · 3 revisions

에러코드

스크린샷 2024-08-21 오후 1 06 18

규칙

- 1000: 클라이언트 에러
    - 11xx: 요청 형식 오류 (잘못된 헤더, query-prams, body, http 매서드 전달)
    - 12xx: 리소스 오류 (클라이언트에서 잘못된 엔드포인트 접근, 존재하지 않는 리소스 접근, 중복된 리소스 접근)
    - 13xx: 인증/인가 (권한)
- 2000: 서버 에러

예시

{
    "type": 1101,
    "title": "request invalid",
    "status": 400, 
    "detail": "잘못된 이메일 형식입니다",
    "instance": "/signup"
    "timestamp": "2024-08-12T16:52:18.370732"
}

{
    "type": 1301,
    "title": "cookie invalid",
    "status": 401, 
    "detail": "Authentication failed due to invalid cookie",
    "instance": "/templates"
    "timestamp": "2024-08-12T16:52:18.370732"
}

⚡️ 코드zap

프로젝트

규칙 및 정책

공통

백엔드

프론트엔드

매뉴얼

백엔드

기술 문서

백엔드

프론트엔드


Clone this wiki locally