commit
b32a6b8c75
1 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ file.
|
|||
|
||||
Exceptions have ids 1xx.
|
||||
|
||||
name / id | example massage | description
|
||||
name / id | example message | description
|
||||
------------------------------ | --------------- | -------------------------
|
||||
json.exception.parse_error.101 | parse error at 2: unexpected end of input; expected string literal | This error indicates a syntax error while deserializing a JSON text. The error message describes that an unexpected token (character) was encountered, and the member @a byte indicates the error position.
|
||||
json.exception.parse_error.102 | parse error at 14: missing or wrong low surrogate | JSON uses the `\uxxxx` format to describe Unicode characters. Code points above above 0xFFFF are split into two `\uxxxx` entries ("surrogate pairs"). This error indicates that the surrogate pair is incomplete or contains an invalid code point.
|
||||
|
@ -272,7 +272,7 @@ class parse_error : public exception
|
|||
|
||||
Exceptions have ids 2xx.
|
||||
|
||||
name / id | example massage | description
|
||||
name / id | example message | description
|
||||
----------------------------------- | --------------- | -------------------------
|
||||
json.exception.invalid_iterator.201 | iterators are not compatible | The iterators passed to constructor @ref basic_json(InputIT first, InputIT last) are not compatible, meaning they do not belong to the same container. Therefore, the range (@a first, @a last) is invalid.
|
||||
json.exception.invalid_iterator.202 | iterator does not fit current value | In an erase or insert function, the passed iterator @a pos does not belong to the JSON value for which the function was called. It hence does not define a valid position for the deletion/insertion.
|
||||
|
|
Loading…
Reference in a new issue