• Felix Lange's avatar
    common/hexutil: wrap errors in json.UnmarshalTypeError · 4a741df7
    Felix Lange authored
    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".
    4a741df7
Name
Last commit
Last update
..
bitutil Loading commit data...
compiler Loading commit data...
hexutil Loading commit data...
math Loading commit data...
mclock Loading commit data...
number Loading commit data...
big.go Loading commit data...
bytes.go Loading commit data...
bytes_test.go Loading commit data...
debug.go Loading commit data...
format.go Loading commit data...
main_test.go Loading commit data...
path.go Loading commit data...
size.go Loading commit data...
size_test.go Loading commit data...
test_utils.go Loading commit data...
types.go Loading commit data...
types_template.go Loading commit data...
types_test.go Loading commit data...