Skip to content

Commit

Permalink
[#177] refactor(PerformanceErrorCode): 변경 티켓 가격이 음수일 시, 예매자가 존재하는데 가격…
Browse files Browse the repository at this point in the history
…수정을 시도할 때 보여줄 에러 메시지 추가
  • Loading branch information
hoonyworld committed Aug 21, 2024
1 parent c4edfc9 commit 399f4bb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public enum PerformanceErrorCode implements BaseErrorCode {
REQUIRED_DATA_MISSING(400, "필수 데이터가 누락되었습니다."),
INVALID_DATA_FORMAT(400, "잘못된 데이터 형식입니다."),
INVALID_REQUEST_FORMAT(400, "잘못된 요청 형식입니다."),
PRICE_UPDATE_NOT_ALLOWED(400, "예매자가 존재하여 가격을 수정할 수 없습니다."),
NEGATIVE_TICKET_PRICE(400, "티켓 가격은 음수일 수 없습니다."),
NO_PERFORMANCE_FOUND(404, "공연을 찾을 수 없습니다."),
PERFORMANCE_DELETE_FAILED(403, "예매자가 1명 이상 있을 경우, 공연을 삭제할 수 없습니다."),
NOT_PERFORMANCE_OWNER(403, "해당 공연의 메이커가 아닙니다."),
Expand Down

0 comments on commit 399f4bb

Please sign in to comment.