go-ethereum/common/hexutil
Felix Lange 4a741df757 common/hexutil: wrap errors in json.UnmarshalTypeError
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".
2017-06-27 13:15:12 +02:00
..
hexutil_test.go common/hexutil: ensure negative big.Int is encoded sensibly 2017-03-02 14:05:46 +01:00
hexutil.go common/hexutil: wrap errors in json.UnmarshalTypeError 2017-06-27 13:15:12 +02:00
json_example_test.go common/hexutil: implement TextMarshaler, TextUnmarshaler 2017-03-02 14:05:46 +01:00
json_test.go common/hexutil: wrap errors in json.UnmarshalTypeError 2017-06-27 13:15:12 +02:00
json.go common/hexutil: wrap errors in json.UnmarshalTypeError 2017-06-27 13:15:12 +02:00