Enumeration DidErrorCode

An enumeration of possible DID error codes.

Enumeration Members

InternalError: "internalError"

An unexpected error occurred during the requested DID operation.

InvalidDid: "invalidDid"

The DID supplied does not conform to valid syntax.

InvalidDidDocument: "invalidDidDocument"

The DID document supplied does not conform to valid syntax.

InvalidDidDocumentLength: "invalidDidDocumentLength"

The byte length of a DID document does not match the expected value.

InvalidDidUrl: "invalidDidUrl"

The DID URL supplied to the dereferencing function does not conform to valid syntax.

InvalidPreviousDidProof: "invalidPreviousDidProof"

The given proof of a previous DID is invalid

InvalidPublicKey: "invalidPublicKey"

An invalid public key is detected during a DID operation.

InvalidPublicKeyLength: "invalidPublicKeyLength"

The byte length of a public key does not match the expected value.

InvalidPublicKeyType: "invalidPublicKeyType"

An invalid public key type was detected during a DID operation.

InvalidSignature: "invalidSignature"

Verification of a signature failed during a DID operation.

MethodNotSupported: "methodNotSupported"

The supplied method name is not supported by the DID method and/or DID resolver implementation.

NotFound: "notFound"

The DID resolver was unable to find the DID document resulting from the resolution request.

RepresentationNotSupported: "representationNotSupported"

The representation requested via the accept input metadata property is not supported by the DID method and/or DID resolver implementation.

UnsupportedPublicKeyType: "unsupportedPublicKeyType"

The type of a public key is not supported by the DID method and/or DID resolver implementation.