ErrorReason

@Serializable
enum ErrorReason : Enum<Network.ErrorReason>

Network level fetch failure reason.

Entries

Link copied to clipboard
@SerialName(value = "Failed")
FAILED
Link copied to clipboard
@SerialName(value = "Aborted")
ABORTED
Link copied to clipboard
@SerialName(value = "TimedOut")
TIMEDOUT
Link copied to clipboard
@SerialName(value = "AccessDenied")
ACCESSDENIED
Link copied to clipboard
@SerialName(value = "ConnectionClosed")
CONNECTIONCLOSED
Link copied to clipboard
@SerialName(value = "ConnectionReset")
CONNECTIONRESET
Link copied to clipboard
@SerialName(value = "ConnectionRefused")
CONNECTIONREFUSED
Link copied to clipboard
@SerialName(value = "ConnectionAborted")
CONNECTIONABORTED
Link copied to clipboard
@SerialName(value = "ConnectionFailed")
CONNECTIONFAILED
Link copied to clipboard
@SerialName(value = "NameNotResolved")
NAMENOTRESOLVED
Link copied to clipboard
@SerialName(value = "InternetDisconnected")
INTERNETDISCONNECTED
Link copied to clipboard
@SerialName(value = "AddressUnreachable")
ADDRESSUNREACHABLE
Link copied to clipboard
@SerialName(value = "BlockedByClient")
BLOCKEDBYCLIENT
Link copied to clipboard
@SerialName(value = "BlockedByResponse")
BLOCKEDBYRESPONSE

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.