Server
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.
Constructors
Section titled “Constructors”| Server | constructor(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. |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| code | val code: String? |
| retryAfterSeconds | val retryAfterSeconds: Long? |
| status | val status: Int |