ExhaustedReason

Why the call budget refused a call; the reason of HttpFailure.BudgetExhausted.

Stable Core. An open constants class: the constants in the companion are the only instances, two reasons are equal when their names are equal, and toString() is the name. This set may gain constants in a feature release; a when over it keeps an else.

Parameters

name

the reason's name, as its constant is spelled.

Types

Link copied to clipboard
object Companion

The reasons.

Properties

Link copied to clipboard

The reason's name, as its constant is spelled.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Two ExhaustedReasons are equal when their names are equal.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code consistent with equals: it is computed from the same properties.

Link copied to clipboard
open override fun toString(): String

Returns the reason's name.