+#define KEY_ERRORS(_) \
+ _(OK, 0, "No error") \
+ _(BADTAG, -1, "Bad tag string") \
+ _(BADTYPE, -2, "Bad type string") \
+ _(BADCOMMENT, -3, "Bad comment string") \
+ _(DUPID, -4, "Key id already exists") \
+ _(DUPTAG, -5, "Key tag already exists") \
+ _(READONLY, -6, "Key file is read-only") \
+ _(WILLEXPIRE, -7, "Key will eventually expire") \
+ _(EXPIRED, -8, "Key has expired") \
+ _(BADFLAGS, -9, "Bad key flags string") \
+ _(BADPASS, -10, "Failed to unlock key") \
+ _(WRONGTYPE, -11, "Unexpected key encoding type") \
+ _(NOTFOUND, -12, "Key not found") \
+ _(BADATTR, -13, "Bad attribute name") \
+ _(MALFORMED, -14, "Malformed key data") \
+ _(IO, -15, "I/O error") \
+