mirror of
https://github.com/golang/go
synced 2024-11-23 12:20:12 -07:00
encoding/json: added docs to UnsupportedValueError
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
afb5fca25a
commit
516cd7a929
@ -236,6 +236,8 @@ func (e *UnsupportedTypeError) Error() string {
|
||||
return "json: unsupported type: " + e.Type.String()
|
||||
}
|
||||
|
||||
// An UnsupportedValueError is returned by Marshal when attempting
|
||||
// to encode an unsupported value.
|
||||
type UnsupportedValueError struct {
|
||||
Value reflect.Value
|
||||
Str string
|
||||
|
Loading…
Reference in New Issue
Block a user