| 11 | var errorMap map[int]*Error = make(map[int]*Error) |
| 12 | |
| 13 | type Error struct { |
| 14 | num int |
| 15 | msg string |
| 16 | extraErr error |
| 17 | hasExtraErr bool |
| 18 | } |
| 19 | |
| 20 | func (e *Error) SetExtraError(err error) { |
| 21 | e.extraErr = err |
nothing calls this directly
no outgoing calls
no test coverage detected