diff --git a/pkg/ueps/packet.go b/pkg/ueps/packet.go index 081f267..ab62654 100644 --- a/pkg/ueps/packet.go +++ b/pkg/ueps/packet.go @@ -12,6 +12,8 @@ import ( // if err == errTLVValueTooLarge { /* value exceeded 255-byte TLV length limit */ } var errTLVValueTooLarge = sentinelError("TLV value too large for 1-byte length header") +// var errNotFound = sentinelError("thing not found") +// if err == errNotFound { /* exact sentinel identity preserved across returns */ } type sentinelError string func (sentinelErrorValue sentinelError) Error() string { return string(sentinelErrorValue) }