ErrorCode

Enumerates error codes with their corresponding integer values.

Provides a mapping between error codes and their respective ErrorCode instances.

Entries

Link copied to clipboard

Represents an error when there is no network connection available.

Link copied to clipboard

Represents an error when the authentication token for sign-in is empty.

Link copied to clipboard

Represents an error indicating a wrong login or password during sign-in.

Link copied to clipboard

Represents an error indicating a wrong login or password during sign-in.

Link copied to clipboard

Represents an error indicating that the user account is temporarily locked due to multiple failed sign-in attempts with an incorrect password.

Link copied to clipboard

Represents an error indicating the input of an incorrect verification code during the password reset process, sent via email.

Link copied to clipboard

Represents an error indicating that the maximum attempts for entering the verification code during the password reset process have been reached.

Link copied to clipboard

Represents an error indicating the attempt to sign in using an account that is not yet activated.

Link copied to clipboard

Represents an error indicating the attempt to sign in using a company that is not yet activated.

Link copied to clipboard

Represents an error indicating the attempt to sign in using a terminated or deleted account.

Link copied to clipboard

Represents an error indicating that the token used for authentication has reached its validity date and has expired.

Link copied to clipboard

Represents an error indicating that the password has changed since the date of the token generation.

Link copied to clipboard

Represents an error indicating that the maximum number of renewals has been reached for the token, and further renewals are not permitted.

Link copied to clipboard

Represents a default error code when a specific error code is not assigned.

Link copied to clipboard

Represents an error indicating an incorrect code entered during 2-factor authentication (MFA).

Link copied to clipboard

Represents an error due to multiple failed attempts with an invalid code during 2-factor authentication (MFA).

Link copied to clipboard

Represents an error due to using an outdated version of the SDK that cannot communicate with the server.

Link copied to clipboard

Represents an error occurring when attempting to sign in with an account lacking the necessary license.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: Int

The integer value associated with each ErrorCode.

Link copied to clipboard
val entries: EnumEntries<Connection.ErrorCode>

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

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Connection.ErrorCode

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.