Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  Correct typo in docs: invalid_sequence -> unexpected_sequence
  • Loading branch information
dgud committed May 30, 2024
2 parents 844ada4 + 01f6940 commit bac72de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/stdlib/src/json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ Supports basic data mapping:
* `error(unexpected_end)` if `Binary` contains incomplete JSON value
* `error({invalid_byte, Byte})` if `Binary` contains unexpected byte or invalid UTF-8 byte
* `error({invalid_sequence, Bytes})` if `Binary` contains invalid UTF-8 escape
* `error({unexpected_sequence, Bytes})` if `Binary` contains invalid UTF-8 escape
## Example
Expand Down Expand Up @@ -662,7 +662,7 @@ implementations used by the `decode/1` function:
## Errors

* `error({invalid_byte, Byte})` if `Binary` contains unexpected byte or invalid UTF-8 byte
* `error({invalid_sequence, Bytes})` if `Binary` contains invalid UTF-8 escape
* `error({unexpected_sequence, Bytes})` if `Binary` contains invalid UTF-8 escape
* `error(unexpected_end)` if `Binary` contains incomplete JSON value

## Example
Expand Down

0 comments on commit bac72de

Please sign in to comment.