ValidatorException

class ValidatorException(val statusCode: Int?, message: String) : RuntimeException

A validator API call failed: non-2xx status (see statusCode) or a malformed payload (statusCode is null). Taps in particular fail with 400/404 until the network has an open mining round, and 429/503 under load — all worth retrying.

Constructors

Link copied to clipboard
constructor(statusCode: Int?, message: String)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard

HTTP status of the failed call, or null when the response could not be parsed.

Link copied to clipboard