-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78de101
commit 28aaaa0
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/kr/co/vacgom/api/user/exception/AuthError.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package kr.co.vacgom.api.user.exception | ||
|
||
import kr.co.vacgom.api.global.exception.error.ErrorCode | ||
import org.springframework.http.HttpStatus | ||
import org.springframework.http.HttpStatus.NOT_FOUND | ||
|
||
enum class AuthError( | ||
override val message: String, | ||
override val status: HttpStatus, | ||
override val code: String, | ||
) : ErrorCode { | ||
FEIGN_UNAUTHORIZED("유효하지 않은 엑세스 토큰 입니다.", NOT_FOUND, "A_001"), | ||
} |