resolveOrDefault
Resolves this DID and returns the document, or the default value.
A deactivated DID (§4.4) throws rather than yielding default — see resolveOrNull, which this delegates to.
Return
The resolved DID document, or the default if resolution failed
Parameters
resolver
The DID resolver to use
default
The default document to return if resolution failed for a reason other than deactivation
Throws
if the DID is deactivated