This adds type and struct field context to error messages. Instead of "hex string of odd length" users will now see "json: cannot unmarshal hex string of odd length into Go struct field SendTxArgs.from of type common.Address". |
||
|---|---|---|
| .. | ||
| hexutil_test.go | ||
| hexutil.go | ||
| json_example_test.go | ||
| json_test.go | ||
| json.go | ||