The type was named packetError but also used in reader.go for reader-side sentinel errors (errMissingHMAC, errIntegrityViolation). The name implied packet-only scope, misleading agents reading reader.go. uepsError names the type after the package it belongs to, matching AX principle 1. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| packet.go | ||
| packet_test.go | ||
| reader.go | ||
| reader_test.go | ||