resolveOrThrow
Resolves this DID and returns the document, or throws if not found.
Return
The resolved DID document
Parameters
resolver
The DID resolver to use
Throws
if resolution failed
Resolves a DID and returns the document, or throws if not found.
Return
The resolved DID document
Parameters
did
The DID to resolve
Throws
if the DID cannot be resolved