Error

value class Error(val exception: Throwable) : SignatureResult<Nothing> (source)

The signature failed for an unexpected reason. The thrown exception is contained.

Constructors

Link copied to clipboard
constructor(exception: Throwable)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Retrieves the contained signature, asserting it exists. If it does not exist, throws the contained problem.

Link copied to clipboard

Retrieves the contained signature, if one exists.

Functions

Link copied to clipboard

Transforms this SignatureResult into a KmmResult. Both Failure and Error map to KmmResult.Failure.

Link copied to clipboard

Modifies the contained CryptoSignature, usually in order to reinterpret it as a more narrow type.

Link copied to clipboard

Modifies the contained CryptoSignature, usually in order to reinterpret it as a more narrow type.