HttpException

class HttpException(val statusCode: Int, message: String, cause: Throwable? = null) : IndexerException

HTTP error from indexer API (4xx or 5xx status).

Recovery:

  • 4xx: Don't retry (client error)

  • 5xx: Retry with exponential backoff (server error)

Constructors

Link copied to clipboard
constructor(statusCode: Int, message: String, cause: Throwable? = null)

Properties

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