Errors

A collection of error codes reference for the DVR module

Error Messages

The following table lists all error messages used across the DVR client modules:

Module
Error Message
Description

MISSING_PUBLIC_KEY_VALUES

Thrown when a public key option is missing 'x' or 'y' values

MISSING_KEYSET_ENDPOINT_VALUES

Thrown when a keyset endpoint option is missing 'jku' or 'kid' values

INVALID_PUBLIC_KEY_OPTION_TYPE

Thrown when an invalid public key option type is provided

MISSING_USER_DATA_REQUESTS

Thrown when user_data_requests array is empty

MISSING_USER_DATA_VERIFYING_KEYS

Thrown when user_data_verifying_keys array is empty

ERROR_INVALID_PAYLOAD

Thrown when parsed payload is not of type DvrData

ERROR_INVALID_JWT

Thrown when JWT token format is invalid

ERROR_INVALID_ZK_PROOF

Thrown when ZK proof payload format is invalid

INVALID_INPUT

Thrown when input is neither a valid PublicKey nor KeysetEndpoint

INVALID_TOKEN

Constant string representing an invalid token

INVALID_VERIFY_PROOF

JSON string representing an invalid verify proof error

Last updated