All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.yazantarifi.websocketmanager.errors.childs.SocketInitException.kt Maven / Gradle / Ivy

There is a newer version: 0.13-alpha
Show newest version
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")
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy