Skip to content

Error Message

famer9716 edited this page Jul 17, 2020 · 3 revisions
{
  "LOGIN_FAIL": {
    "status": 401,
    "success" : false,
    "message": "λ‘œκ·ΈμΈμ— μ‹€νŒ¨ν•˜μ˜€μŠ΅λ‹ˆλ‹€.",
    "description": "Login Fail"
  },
  "NON_EXIST_ID": {
    "status": 400,
    "success" : false,
    "message": "아이디가 μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.",
    "description": "Non Exist ID"
  },
  "EXIST_ID": {
    "status": 400,
    "success" : false,
    "message": "아이디가 μ‘΄μž¬ν•©λ‹ˆλ‹€.",
    "description": "Exist ID"
  },
  "EXIST_NICKNAME": {
    "status": 400,
    "success" : false,
    "message": "λ‹‰λ„€μž„μ΄ μ‘΄μž¬ν•©λ‹ˆλ‹€.",
    "description": "Exist nickname"
  },

  "NON_EXISTENT_DATA": {
    "status": 403,
    "success" : false,
    "message": "λ§žμ§€ μ•ŠλŠ” λ°μ΄ν„°μž…λ‹ˆλ‹€.",
    "result": "Nonexistent data"
  },
  "CODITION_NOT_MATCH" : {
    "status": 400,
    "success": true,
    "message": "쑰건에 λ§žμ§€ μ•ŠλŠ” λ°μ΄ν„°μž…λ‹ˆλ‹€.",
    "result": ""
  },
  
  "ACCESS_NON_DATA_FOR_IDX" : {
    "status": 400,
    "success": true,
    "message": "데이터가 μ—†λŠ” idx둜 μ ‘κ·Όν–ˆμŠ΅λ‹ˆλ‹€. token or νŒŒλΌλ―Έν„°λ₯Ό ν™•μΈν•΄μ£Όμ‹œκ³ , μ•„ λ‚œ 잘λͺ» 일도 μ—†λ‹€!! μƒκ°ν•˜μ‹œλ©΄ μ„œλ²„μ—κ²Œ μš”μ²­ν•˜μ„Έμš”:-)",
    "result": ""
  },


  "NO_EXIST_PARAMETER": {
    "status": 400,
    "success" : false,
    "message": "ν•„μš”ν•œ νŒŒλΌλ―Έν„°κ°€ μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.",
    "description": "invalid parameter"
  },
  "WRONG_PARM": {
    "status": 400,
    "success" : false,
    "message": "νŒŒλΌλ―Έν„°κ°€ 잘λͺ»λ˜μ—ˆμŠ΅λ‹ˆλ‹€.",
    "description": "invalid parameter"
  },
  "EMPTY_TOKEN": {
    "status": 400,
    "success" : false,
    "message": "토큰 값이 μ—†μŠ΅λ‹ˆλ‹€.",
    "description": "Empty token"
  },
  "EXPIRED_TOKEN": {
    "status": 400,
    "success" : false,
    "message": "만료된 인증 토큰 μž…λ‹ˆλ‹€.",
    "description": "expired token"
  }, 
  "INVALID_TOKEN": {
    "status": 400,
    "success" : false,
    "message": "μœ νš¨ν•˜μ§€ μ•Šμ€ ν† ν°κ°’μž…λ‹ˆλ‹€.",
    "description": "invalid token"
  },


  "SERVER_ERROR": {
    "status": 500,
    "success" : false,
    "message": "μ„œλ²„ 였λ₯˜",
    "description": "Internal Server Error"
  },
  "8400": {
    "status": 400,
    "success" : false,
    "message": "400 Error"
  },
  "9500": {
    "status": 400,
    "success" : false,
    "message": "500 Error"
  },
  "INVALID_AUTH": {
    "status": 403,
    "success" : false,
    "message": "잘λͺ»λœ 인증 λ°©μ‹μž…λ‹ˆλ‹€.",
    "description": "invalid authentication"
  }
}