Companion

object Companion

Functions

Link copied to clipboard
fun fromCode(message: String?, code: Int?): NetworkError

Creates the appropriate NetworkError subclass from the given error code and message.