Skip to content

Commit

Permalink
Merge pull request #678 from DmitryKuk/develop
Browse files Browse the repository at this point in the history
massage -> message
  • Loading branch information
nlohmann committed Aug 5, 2017
2 parents 0ea0d7d + 19437c1 commit b32a6b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b32a6b8

Please sign in to comment.