go/src/html
Kevin Burke 6af088bfc6 encoding/json: add "json: " prefix to SyntaxError messages
The other named errors - UnmarshalTypeError, etc - in this package do
the same, so we should prepend the package prefix to error messages
for consistency.

Add a note to the release docs in case this is interpreted as
a breaking change.

Fixes #36221.

Change-Id: Ie24b532bbf9812e108c259fa377e2a6b64319ed4
Reviewed-on: https://go-review.googlesource.com/c/go/+/263619
Run-TryBot: Kevin Burke <kev@inburke.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Kevin Burke <kev@inburke.com>
Trust: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
2020-10-21 18:50:01 +00:00
..
template encoding/json: add "json: " prefix to SyntaxError messages 2020-10-21 18:50:01 +00:00
entity.go
entity_test.go
escape.go html: update URL in comment 2020-01-13 07:00:18 +00:00
escape_test.go
example_test.go
fuzz.go html: add a Fuzz function 2019-04-30 15:48:46 +00:00