ErrorResponse

data class ErrorResponse(val localizeMessage: String = "Can't connect to server", val errorCode: Int = -1, rawResponse: String? = null) : VGSResponse

The class definition for an error response state.

Parameters

localizeMessage

The message of the error.

errorCode

The response code from server.

Constructors

Link copied to clipboard
constructor(localizeMessage: String = "Can't connect to server", errorCode: Int = -1, rawResponse: String? = null)

Properties

Link copied to clipboard
val body: String? = null
Link copied to clipboard
val code: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String