MCPcopy
hub / github.com/tinylib/msgp / TypeError

Struct TypeError

msgp/errors.go:277–282  ·  view source on GitHub ↗

A TypeError is returned when a particular decoding method is unsuitable for decoding a particular MessagePack value.

Source from the content-addressed store, hash-verified

275// decoding method is unsuitable for decoding
276// a particular MessagePack value.
277type TypeError struct {
278 Method Type // Type expected by method
279 Encoded Type // Type actually encoded
280
281 ctx string
282}
283
284// Error implements the error interface
285func (t TypeError) Error() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected