getOrThrowDid

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

Example:

val did = trustWeave.createDid { method("key") }.getOrThrowDid()