Mining/pkg/ueps
Claude 41761823d3
ax(ueps): expand ReadAndVerify comment to show error sentinel branches
AX Principle 2 — comments as usage examples: the ReadAndVerify doc
comment only showed the success path; both errMissingHMAC and
errIntegrityViolation sentinel branches are now illustrated so callers
can copy-paste correct dispatch logic.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 13:28:59 +01:00
..
packet.go ax(ueps): replace prose arrow comment with usage example on messageAuthCode 2026-04-02 13:19:43 +01:00
packet_test.go ax(ueps): rename single-letter sentinel test variables to descriptive names 2026-04-02 13:16:32 +01:00
reader.go ax(ueps): expand ReadAndVerify comment to show error sentinel branches 2026-04-02 13:28:59 +01:00
reader_test.go ax(ueps): fix AX-2 violation in TestReader_ReadAndVerify_Bad — add errIntegrityViolation sentinel check 2026-04-02 13:04:43 +01:00