| 13 | ) |
| 14 | |
| 15 | type MyError struct { |
| 16 | status int |
| 17 | Message string `json:"message"` |
| 18 | Details []string `json:"details,omitempty"` |
| 19 | } |
| 20 | |
| 21 | func (e *MyError) Error() string { |
| 22 | return e.Message |
nothing calls this directly
no outgoing calls
no test coverage detected