generated from pricelees/issue-pr-template
[#48] Tosspay mocking 서버 구현을 위한 멀티모듈 전환 #49
@ -1,6 +1,6 @@
|
||||
package com.sangdol.roomescape.common.exception
|
||||
package com.sangdol.common.types.exception
|
||||
|
||||
import org.springframework.http.HttpStatus
|
||||
import com.sangdol.common.types.web.HttpStatus
|
||||
|
||||
enum class CommonErrorCode(
|
||||
override val httpStatus: HttpStatus,
|
||||
@ -1,6 +1,6 @@
|
||||
package com.sangdol.roomescape.common.exception
|
||||
package com.sangdol.common.types.exception
|
||||
|
||||
import org.springframework.http.HttpStatus
|
||||
import com.sangdol.common.types.web.HttpStatus
|
||||
|
||||
interface ErrorCode {
|
||||
val httpStatus: HttpStatus
|
||||
@ -1,6 +1,6 @@
|
||||
package com.sangdol.roomescape.common.exception
|
||||
package com.sangdol.common.types.exception
|
||||
|
||||
open class RoomescapeException(
|
||||
open val errorCode: ErrorCode,
|
||||
override val message: String = errorCode.message
|
||||
) : RuntimeException(message)
|
||||
) : RuntimeException(message)
|
||||
Loading…
x
Reference in New Issue
Block a user