Skip to content

Commit 1b9a640

Browse files
JSON: Change the first number of the JSON conversion errors
This gives us a little more room to add validation errors when we have to keep binary compatibility. Signed-off-by: Thiago Macieira <[email protected]>
1 parent e5843df commit 1b9a640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cbor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ typedef enum CborError {
191191
CborErrorUnsupportedType,
192192

193193
/* errors in converting to JSON */
194-
CborErrorJsonObjectKeyIsAggregate,
194+
CborErrorJsonObjectKeyIsAggregate = 1280,
195195
CborErrorJsonObjectKeyNotString,
196196
CborErrorJsonNotImplemented,
197197

0 commit comments

Comments
 (0)