aries / net.globalid.aries.common.exception / ErrorCode

ErrorCode

enum class ErrorCode

Possible error codes that framework returns RECORD_NOT_FOUND - The record not found RECORD_IN_INVALID_STATE - The record in invalid state A2A_MESSAGE_INVALID - The message is in invalid state A2A_MESSAGE_TRANSMISSION_ERROR - Agent to Agent message transmission error A2A_MESSAGE_INVALID_JSON - Agent to Agent message JSON parsing error A2A_MESSAGE_MISSING_DECORATOR - The required decorator is missing A2A_MESSAGE_UNKNOWN - The message is unknown to the agent INVALID_SIGNATURE - The signature from a signature decorator is invalid DID_DOC_MISSING_KEY - The VerKey is missing from the DIDDoc DID_DOC_MISSING_SERVICE_ENDPOINT - The service endpoint is missing from the DIDDoc CREDENTIAL_ATTACHMENT_NOT_FOUND - The credential attachment with id libindy-cred-0 not found ATTACHMENT_DATA_NOT_FOUND - The attachment data is missing JSON_PARSE_ERROR - The json string could not be parsed TRUST_PING_MUST_NOT_RESPOND - Must not respond to the received trust ping PRESENT_PROOF_INVALID_PRESENTATION - The presentation for a proof is invalid PRESENT_PROOF_REQUEST_NO_ATTACHMENT - The request does not have an attachment. PRESENT_PROOF_REQUEST_NO_ATTACHMENT_DATA - The request attachment does not have data. PRESENT_PROOF_REQUESTED_CREDENTIAL_NOT_FOUND - The requested credential didn't find by the credential id REVOCATION_REGISTRY_UNAVAILABLE - The revocation registry folder or file unavailable

Enum Values

RECORD_NOT_FOUND

RECORD_IN_INVALID_STATE

A2A_MESSAGE_INVALID

A2A_MESSAGE_TRANSMISSION_ERROR

A2A_MESSAGE_INVALID_JSON

A2A_MESSAGE_MISSING_DECORATOR

A2A_MESSAGE_UNKNOWN

INVALID_SIGNATURE

DID_DOC_MISSING_KEY

DID_DOC_MISSING_SERVICE_ENDPOINT

CREDENTIAL_ATTACHMENT_NOT_FOUND

ATTACHMENT_DATA_NOT_FOUND

JSON_PARSE_ERROR

TRUST_PING_MUST_NOT_RESPOND

PRESENT_PROOF_INVALID_PRESENTATION

PRESENT_PROOF_REQUEST_NO_ATTACHMENT

PRESENT_PROOF_REQUEST_NO_ATTACHMENT_DATA

PRESENT_PROOF_REQUESTED_CREDENTIAL_NOT_FOUND

REVOCATION_REGISTRY_UNAVAILABLE