Type alias FailedRepresentationResolutionMetadata

FailedRepresentationResolutionMetadata: {
    error: "invalidDid" | "notFound" | "representationNotSupported";
}

Type declaration

  • error: "invalidDid" | "notFound" | "representationNotSupported"

    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.
    • representationNotSupported: This error code is returned if the representation requested via the accept input metadata property is not supported by the DID method and/or DID resolver implementation.