ax(ueps): replace prose errTLVValueTooLarge comment with usage example
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 08:20:47 +01:00
parent 33659c311f
commit 0d9071d528
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -8,7 +8,8 @@ import (
"io"
)
// errTLVValueTooLarge is returned by writeTLV when a value exceeds the 1-byte length limit (255 bytes).
// writeTLV(buf, TagPayload, oversized) → errTLVValueTooLarge
// if errors.Is(err, errTLVValueTooLarge) { /* value exceeded 255-byte TLV length limit */ }
var errTLVValueTooLarge = tlvError("TLV value too large for 1-byte length header")
// tlvError is a sentinel error type for TLV encoding violations.