ChallengeResponseValidationErrors: {
    DEVICE_UNSUCCESSFUL_STATUS: "Device returned unsuccessful status";
    FAILED_TO_PARSE_DEVICE_RESPONSE: "Failed to parse device response";
    INVALID_CHALLENGE_RESPONSE_FORMAT: "Invalid challenge response format";
    INVALID_RESPONSE_PAYLOAD: "Invalid response payload: missing payload or nodeId";
    MISSING_CHALLENGE_RESPONSE_PAYLOAD: "Missing challenge response payload";
} = ...

User-facing error messages for challenge-response device response validation.

Type declaration

  • ReadonlyDEVICE_UNSUCCESSFUL_STATUS: "Device returned unsuccessful status"

    Error message indicating the device returned an unsuccessful status.

  • ReadonlyFAILED_TO_PARSE_DEVICE_RESPONSE: "Failed to parse device response"

    Error message when device response parsing fails.

  • ReadonlyINVALID_CHALLENGE_RESPONSE_FORMAT: "Invalid challenge response format"

    Error message when challenge response format is invalid (e.g. signedChallenge not hex).

  • ReadonlyINVALID_RESPONSE_PAYLOAD: "Invalid response payload: missing payload or nodeId"

    Error message indicating the response payload is invalid.

  • ReadonlyMISSING_CHALLENGE_RESPONSE_PAYLOAD: "Missing challenge response payload"

    Error message indicating the challenge response payload is missing.