Aller au contenu

Server

Ce contenu n’est pas encore disponible dans votre langue.

class Server(val status: Int, val code: String?, val retryAfterSeconds: Long?) : FrakError

Non-2xx status. code is the { success: false, error, code } envelope’s code when present, null for plain-text bodies. retryAfterSeconds only from a Retry-After header.

Serverconstructor(status: Int, code: String?, retryAfterSeconds: Long?)constructor(status: Int)
Status only, for a merchant faking a failure in their own test; the SDK always has all three.
NameSummary
codeval code: String?
retryAfterSecondsval retryAfterSeconds: Long?
statusval status: Int