(m msgp.Marshaler)
| 88 | } |
| 89 | |
| 90 | func marshalErrorCtx(m msgp.Marshaler) []byte { |
| 91 | bts, err := m.MarshalMsg(nil) |
| 92 | if err != nil { |
| 93 | panic(err) |
| 94 | } |
| 95 | return bts |
| 96 | } |
| 97 | |
| 98 | // dodgifyMsgpString will wreck the nth string in the msgpack blob |
| 99 | // so that it raises an error when decoded or unmarshaled. |
no test coverage detected
searching dependent graphs…