MCPcopy Create free account
hub / github.com/segmentio/encoding / unmarshalTypeError

Function unmarshalTypeError

json/codec.go:989–991  ·  view source on GitHub ↗
(b []byte, t reflect.Type)

Source from the content-addressed store, hash-verified

987}
988
989func unmarshalTypeError(b []byte, t reflect.Type) error {
990 return &UnmarshalTypeError{Value: strconv.Quote(prefix(b)), Type: t}
991}
992
993func unmarshalOverflow(b []byte, t reflect.Type) error {
994 return &UnmarshalTypeError{Value: "number " + prefix(b) + " overflows", Type: t}

Callers 4

parseIntMethod · 0.85
parseUintMethod · 0.85
decodeFromStringToIntMethod · 0.85
inputErrorMethod · 0.85

Calls 1

prefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…