Code

Entries

Link copied to clipboard

A requested session was not found.

Link copied to clipboard

The remote identity of a session changed.

Link copied to clipboard

The signature of a decrypted message is invalid.

Link copied to clipboard

A message is invalid.

Link copied to clipboard

A message is a duplicate.

Link copied to clipboard

A message is too recent.

Link copied to clipboard

A message is too old.

Link copied to clipboard

A message or key could not be decoded.

Link copied to clipboard

An internal storage error occurred.

Link copied to clipboard

A CBox has been opened with an incomplete or mismatching identity using CryptoBox.openWith.

Link copied to clipboard

An attempt was made to initialise a new session using CryptoBox.initSessionFromMessage whereby the prekey corresponding to the prekey ID in the message could not be found.

Link copied to clipboard

A panic occurred. This is a last resort error raised form native code to signal a severe problem, like a violation of a critical invariant, that would otherwise have caused a crash. Client code can choose to handle these errors more gracefully, preventing the application from crashing.

Link copied to clipboard

An unspecified error occurred.

Link copied to clipboard

Local files were not found.

Properties

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

Functions

Link copied to clipboard
fun valueOf(value: String): ProteusException.Code

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.