Type alias ResolutionMetadata

ResolutionMetadata: {
    error?: "invalidDid" | "notFound";
}

Type declaration

  • Optional error?: "invalidDid" | "notFound"

    The error code from the resolution process. This property is REQUIRED when there is an error in the resolution process. The value of this property MUST be a single keyword ASCII string. The possible property values of this field SHOULD be registered in the DID Specification Registries. This specification defines the following common error values:

    • invalidDid: The DID supplied to the DID resolution function does not conform to valid syntax.
    • notFound: The DID resolver was unable to find the DID document resulting from this resolution request.