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
Thrown when parsed payload is not of type DvrData
Thrown when JWT token format is invalid
Thrown when ZK proof payload format is invalid
Thrown when input is neither a valid PublicKey nor KeysetEndpoint
Constant string representing an invalid token
JSON string representing an invalid verify proof error