ErrorResponse

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

An error response from the VGS server.

Parameters

localizeMessage

A localized message describing the error.

errorCode

The HTTP response code.

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?
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