예외 메시지 다국어 처리를 위한 키 기반 구조 도입

This commit is contained in:
2025-12-22 16:39:06 +09:00
parent 6fa0667120
commit ff1b8aa413
5 changed files with 104 additions and 33 deletions

View File

@@ -1,5 +1,12 @@
package kr.co.vividnext.sodalive.common
class SodaException(message: String, val errorProperty: String? = null) : RuntimeException(message)
class SodaException(
message: String? = null,
val errorProperty: String? = null,
val messageKey: String? = null
) : RuntimeException(message)
class AdsChargeException(message: String) : RuntimeException(message)
class AdsChargeException(
message: String? = null,
val messageKey: String? = null
) : RuntimeException(message)