Skip to content

Commit

Permalink
Remove stale reference to DecoderError.prototype in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Jan 4, 2024
1 parent 8d5eb23 commit 5479aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ function repr(
): string;
```

Takes any value, and returns a string representation of it for use in error messages. [DecoderError.prototype.format](#format) uses it behind the scenes. If you want to do your own formatting, `repr` can be useful.
Takes any value, and returns a string representation of it for use in error messages. [format](#format) uses it behind the scenes. If you want to do your own formatting, `repr` can be useful.

Options:

Expand Down

0 comments on commit 5479aa7

Please sign in to comment.