Skip to content

Commit

Permalink
[#38] feat: ErrorCode 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
hsik0225 committed Jun 4, 2020
1 parent 2f73a2c commit 8752c78
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
@Getter
@AllArgsConstructor
public enum ErrorCode {
// Common
INVALID_INPUT_VALUE(400, "Invalid Input Value"),
METHOD_NOT_ALLOWED(405, "Invalid Input Value"),
ENTITY_NOT_FOUND(400, "Entity Not Found"),
INVALID_TYPE_VALUE(400, "Invalid Type Value"),
HANDLE_ACCESS_DENIED(403, "Access is Denied"),
METHOD_NOT_ALLOWED(405, "Invalid Input Value"),

// User
UNAUTHORIZED(401, "Please Login");

private final int status;
Expand Down

0 comments on commit 8752c78

Please sign in to comment.