DidCreationResult

sealed class DidCreationResult

Sealed result type for DID creation operations.

Inheritors

Types

Link copied to clipboard
sealed class Failure : DidCreationResult

DID creation failed.

Link copied to clipboard
data class Success(val did: Did, val document: DidDocument) : DidCreationResult

DID creation succeeded.

Functions

Link copied to clipboard

Extract the DID and document from a successful DidCreationResult, or throw with detailed error.

Link copied to clipboard

Extract just the DID from a successful DidCreationResult, or throw with detailed error.

Link copied to clipboard

Extract just the document from a successful DidCreationResult, or throw with detailed error.