| 14 | ) |
| 15 | |
| 16 | type MyError struct { |
| 17 | Code uint16 |
| 18 | Message string |
| 19 | State string |
| 20 | } |
| 21 | |
| 22 | func (e *MyError) Error() string { |
| 23 | return fmt.Sprintf("ERROR %d (%s): %s", e.Code, e.State, e.Message) |
nothing calls this directly
no outgoing calls
no test coverage detected