getOrThrowDocument
Extract just the document from a successful DidCreationResult, or throw with detailed error.
Example:
val document = trustWeave.createDid { method("key") }.getOrThrowDocument()Content copied to clipboard
Extract just the document from a successful DidCreationResult, or throw with detailed error.
Example:
val document = trustWeave.createDid { method("key") }.getOrThrowDocument()