해당 게시글은 개인 프로젝트인 "광고 관리 플랫폼 대행사 센터 제작" 중
#72 "예외 처리" 이슈를 다루고 있습니다.
OK(HttpStatus.OK, "ok"),
AGENT_NOT_FOUND(HttpStatus.NOT_FOUND, "Agent not founded"),
AGENT_GROUP_NOT_FOUND(HttpStatus.NOT_FOUND, "Agent Group not founded"),
CLIENT_NOT_FOUND(HttpStatus.NOT_FOUND, "Client not founded"),
CAMPAIGN_NOT_FOUND(HttpStatus.NOT_FOUND, "Campaign not founded"),
CREATIVE_NOT_FOUND(HttpStatus.NOT_FOUND, "Campaign not founded"),
AGENT_EXISTS(HttpStatus.CONFLICT, "Agent exists"),
CLIENT_EXISTS(HttpStatus.CONFLICT, "Client exists"),
INVALID_RELATION(HttpStatus.CONFLICT, "Client, Campaign, Creative does not match with each other"),
BAD_REQUEST(HttpStatus.BAD_REQUEST, "Bad Request"),
INTERNAL_SERVER_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "Internal server error");