commonMain.com.yazantarifi.websocketmanager.errors.childs.SocketInitException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of websockets Show documentation
Show all versions of websockets Show documentation
Socket IO Implementation for Android, IOS Apps - KMM
package com.yazantarifi.websocketmanager.errors.childs
import com.yazantarifi.websocketmanager.errors.SocketManagerErrorMessagesManager
import com.yazantarifi.websocketmanager.errors.SocketManagerException
class SocketInitException constructor(
private val missingPart: String
): SocketManagerException("${SocketManagerErrorMessagesManager.ERROR_SDK_INIT} $missingPart") {
companion object {
fun getConfigurationInstance(): SocketInitException {
return SocketInitException("manager.initInstanceConfiguration not called")
}
fun getSocketInstance(): SocketInitException {
return SocketInitException("manager.initSocketManager not called")
}
}
}