AFError Kind
What kind of failure an AFException represents, classified by the SDK the same way on every platform.
Use it to choose your own localized copy, an icon, or whether to offer a retry. AFException.message is already safe to show a member for every kind; AFException.technicalMessage holds the diagnostic text for logs.
Entries
The device has no usable connection, or the server could not be reached.
A secure (TLS) connection could not be established.
The session is missing, expired or rejected (HTTP 401).
The server failed (HTTP 5xx or 429). Usually worth retrying later.
The server rejected the request (HTTP 4xx). When the server sent a message for the member, AFException.message carries it unchanged.
The server answered with something the SDK could not read.
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.