Types

Link copied to clipboard
class BackendStorageFailed(message: String, cause: Throwable? = null) : PortalException.Mpc

Thrown when unable to store data on Portal's backend.

Link copied to clipboard

Thrown when a backup method is not configured.

Link copied to clipboard

Thrown when no backup share is found for a specific backup method.

Link copied to clipboard

Thrown when no client cipherText is found for a backup method during recovery.

Link copied to clipboard

Thrown when EIP155 wallet is not found and is required.

Link copied to clipboard
class InstanceNotAvailable(message: String, cause: Throwable? = null) : PortalException.Mpc

Thrown when an instance is not available.

Link copied to clipboard

Thrown when an MPC operation returns an error from the server.

Link copied to clipboard

Thrown when an MPC operation is no longer supported for the current MPC version.

Link copied to clipboard

Thrown when no data is found in the formatted shares response.

Link copied to clipboard

Thrown when no private keys could be ejected.

Link copied to clipboard

Thrown when no organization backup share is found for a specific backup method.

Link copied to clipboard
class ShareFormattingError(message: String, cause: Throwable? = null) : PortalException.Mpc

Thrown when there is an error formatting shares.

Link copied to clipboard
class UnableToDeriveShareId(shareType: String, curve: String = "") : PortalException.Mpc

Thrown when unable to derive share ID from generated share.

Link copied to clipboard

Thrown when unable to notify Portal of ejection.

Link copied to clipboard

Thrown when unable to read data from backup storage.

Link copied to clipboard

Thrown when unable to read data from keychain storage.

Link copied to clipboard
class UnableToReadShares(message: String, cause: Throwable? = null) : PortalException.Mpc

Thrown when unable to read shares from storage.

Link copied to clipboard

Thrown when an unsupported curve is used.

Link copied to clipboard

Thrown when a wallet modification operation is already in progress.

Link copied to clipboard

Thrown when no wallet is found for a specific backup method.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?