@did-btc1/common / Btc1ErrorCode
Enumeration: Btc1ErrorCode
Defined in: errors.ts:4
An enumeration of possible DID error codes.
Enumeration Members
INTERNAL_ERROR
> INTERNAL_ERROR: "INTERNAL_ERROR"
Defined in: errors.ts:12
An unexpected error occurred during the requested DID operation.
INVALID_CHALLENGE_ERROR
> INVALID_CHALLENGE_ERROR: "INVALID_CHALLENGE_ERROR"
Defined in: errors.ts:79
The proof is missing or has a malformed challenge field.
INVALID_DID
> INVALID_DID: "INVALID_DID"
Defined in: errors.ts:6
The DID supplied does not conform to valid syntax.
INVALID_DID_DOCUMENT
> INVALID_DID_DOCUMENT: "INVALID_DID_DOCUMENT"
Defined in: errors.ts:15
The DID document supplied does not conform to valid syntax.
INVALID_DID_DOCUMENT_LENGTH
> INVALID_DID_DOCUMENT_LENGTH: "INVALID_DID_DOCUMENT_LENGTH"
Defined in: errors.ts:21
The byte length of a DID document does not match the expected value.
INVALID_DID_UPDATE
> INVALID_DID_UPDATE: "INVALID_DID_UPDATE"
Defined in: errors.ts:18
The DID Update supplied does not conform to valid syntax.
INVALID_DID_URL
> INVALID_DID_URL: "INVALID_DID_URL"
Defined in: errors.ts:24
The DID URL supplied to the dereferencing function does not conform to valid syntax.
INVALID_DOMAIN_ERROR
> INVALID_DOMAIN_ERROR: "INVALID_DOMAIN_ERROR"
Defined in: errors.ts:82
The proof is missing or has a malformed domain field.
INVALID_PREVIOUS_DID_PROOF
> INVALID_PREVIOUS_DID_PROOF: "INVALID_PREVIOUS_DID_PROOF"
Defined in: errors.ts:27
The given proof of a previous DID is invalid
INVALID_PUBLIC_KEY
> INVALID_PUBLIC_KEY: "INVALID_PUBLIC_KEY"
Defined in: errors.ts:30
An invalid public key is detected during a DID operation.
INVALID_PUBLIC_KEY_LENGTH
> INVALID_PUBLIC_KEY_LENGTH: "INVALID_PUBLIC_KEY_LENGTH"
Defined in: errors.ts:36
The byte length of a public key does not match the expected value.
INVALID_PUBLIC_KEY_MULTIBASE
> INVALID_PUBLIC_KEY_MULTIBASE: "INVALID_PUBLIC_KEY_MULTIBASE"
Defined in: errors.ts:33
An invalid multibase format is detected on the public key during a DID operation.
INVALID_PUBLIC_KEY_TYPE
> INVALID_PUBLIC_KEY_TYPE: "INVALID_PUBLIC_KEY_TYPE"
Defined in: errors.ts:39
An invalid public key type was detected during a DID operation.
INVALID_SIDECAR_DATA
> INVALID_SIDECAR_DATA: "INVALID_SIDECAR_DATA"
Defined in: errors.ts:76
The sidecar data in the DID Update Payload was invalid.
INVALID_SIGNATURE
> INVALID_SIGNATURE: "INVALID_SIGNATURE"
Defined in: errors.ts:42
Verification of a signature failed during a DID operation.
LATE_PUBLISHING_ERROR
> LATE_PUBLISHING_ERROR: "LATE_PUBLISHING_ERROR"
Defined in: errors.ts:73
Something about the DID Update Payload indicates the potential for late publishing.
METHOD_NOT_SUPPORTED
> METHOD_NOT_SUPPORTED: "METHOD_NOT_SUPPORTED"
Defined in: errors.ts:9
The supplied method name is not supported by the DID method and/or DID resolver implementation.
NOT_FOUND
> NOT_FOUND: "NOT_FOUND"
Defined in: errors.ts:46
DID Resolution: The DID resolver was unable to find the DID document resulting from the resolution request.
PROOF_GENERATION_ERROR
> PROOF_GENERATION_ERROR: "PROOF_GENERATION_ERROR"
Defined in: errors.ts:61
The proof generation operation failed.
PROOF_PARSING_ERROR
> PROOF_PARSING_ERROR: "PROOF_PARSING_ERROR"
Defined in: errors.ts:67
The proof could not be parsed properly.
PROOF_SERIALIZATION_ERROR
> PROOF_SERIALIZATION_ERROR: "PROOF_SERIALIZATION_ERROR"
Defined in: errors.ts:64
The proof serialization operation failed.
PROOF_VERIFICATION_ERROR
> PROOF_VERIFICATION_ERROR: "PROOF_VERIFICATION_ERROR"
Defined in: errors.ts:58
The proof verification operation failed.
REPRESENTATION_NOT_SUPPORTED
> REPRESENTATION_NOT_SUPPORTED: "REPRESENTATION_NOT_SUPPORTED"
Defined in: errors.ts:52
The representation requested via the accept
input metadata property is not supported by the DID method and/or DID resolver implementation.
UNSUPPORTED_PUBLIC_KEY_TYPE
> UNSUPPORTED_PUBLIC_KEY_TYPE: "UNSUPPORTED_PUBLIC_KEY_TYPE"
Defined in: errors.ts:55
The type of a public key is not supported by the DID method and/or DID resolver implementation.
VERIFICATION_METHOD_ERROR
> VERIFICATION_METHOD_ERROR: "VERIFICATION_METHOD_ERROR"
Defined in: errors.ts:70
The verification method was formed improperly.