mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-25 10:24:31 +01:00
18 lines
504 B
Kotlin
18 lines
504 B
Kotlin
@file:Suppress("ClassName")
|
|
|
|
package utils
|
|
|
|
data class ENV_KEY_MISSING(
|
|
val keyName: String,
|
|
override val message: String? = "$keyName was not found, please check your ENV variables"
|
|
) : Exception(message)
|
|
|
|
data class HCTI_URL_RESPONSE_ERROR(
|
|
val response: String,
|
|
override val message: String? = "Server Error, We Recieved this Resp: $response"
|
|
) : Exception(message)
|
|
|
|
data class RETRY_LIMIT_EXHAUSTED(
|
|
override val message: String? = "RETRY LIMIT EXHAUSTED!"
|
|
) : Exception(message)
|