-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
4 changed files
with
69 additions
and
1 deletion.
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
21 changes: 21 additions & 0 deletions
21
...ain/src/main/kotlin/team/comit/simtong/domain/auth/exception/AuthCodeNotFoundException.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,21 @@ | ||
package team.comit.simtong.domain.auth.exception | ||
|
||
import team.comit.simtong.domain.auth.error.AuthErrorCode | ||
import team.comit.simtong.global.error.BusinessException | ||
|
||
/** | ||
* | ||
* AuthCode Not Found Error를 발생시키는 AuthCodeNotFoundException | ||
* | ||
* @author Chokyunghyeon | ||
* @date 2022/09/25 | ||
* @version 1.0.0 | ||
**/ | ||
class AuthCodeNotFoundException private constructor(): BusinessException(AuthErrorCode.AUTHCODE_NOT_FOUND) { | ||
|
||
companion object { | ||
@JvmField | ||
val EXCEPTION = AuthCodeNotFoundException() | ||
} | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
...omain/src/main/kotlin/team/comit/simtong/domain/auth/exception/CertifiedEmailException.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,21 @@ | ||
package team.comit.simtong.domain.auth.exception | ||
|
||
import team.comit.simtong.domain.auth.error.AuthErrorCode | ||
import team.comit.simtong.global.error.BusinessException | ||
|
||
/** | ||
* | ||
* Already Certified Email Error를 발생시키는 CertifiedEmailException | ||
* | ||
* @author Chokyunghyeon | ||
* @date 2022/09/24 | ||
* @version 1.0.0 | ||
**/ | ||
class CertifiedEmailException private constructor(): BusinessException(AuthErrorCode.ALREADY_CERTIFIED_EMAIL) { | ||
|
||
companion object { | ||
@JvmField | ||
val EXCEPTION = CertifiedEmailException() | ||
} | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
...n/kotlin/team/comit/simtong/domain/auth/exception/ExceededSendAuthCodeRequestException.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,21 @@ | ||
package team.comit.simtong.domain.auth.exception | ||
|
||
import team.comit.simtong.domain.auth.error.AuthErrorCode | ||
import team.comit.simtong.global.error.BusinessException | ||
|
||
/** | ||
* | ||
* Exceeded Send AuthCode Request Error를 발생시키는 ExceededSendAuthCodeRequestException | ||
* | ||
* @author Chokyunghyeon | ||
* @date 2022/09/24 | ||
* @version 1.0.0 | ||
**/ | ||
class ExceededSendAuthCodeRequestException private constructor(): BusinessException(AuthErrorCode.EXCEEDED_SEND_AUTHCODE_REQUEST) { | ||
|
||
companion object { | ||
@JvmField | ||
val EXCEPTION = ExceededSendAuthCodeRequestException() | ||
} | ||
|
||
} |