String implements fmt.Stringer.
()
| 136 | |
| 137 | // String implements fmt.Stringer. |
| 138 | func (d *DecodeFailure) String() string { |
| 139 | return "Packet decoding error: " + d.Error().Error() |
| 140 | } |
| 141 | |
| 142 | // Dump implements Dumper. |
| 143 | func (d *DecodeFailure) Dump() (s string) { |