A TypeError is returned when a particular decoding method is unsuitable for decoding a particular MessagePack value.
| 275 | // decoding method is unsuitable for decoding |
| 276 | // a particular MessagePack value. |
| 277 | type 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 |
| 285 | func (t TypeError) Error() string { |
nothing calls this directly
no outgoing calls
no test coverage detected