| 54 | ) |
| 55 | |
| 56 | type Error struct { |
| 57 | Code int `json:"errorCode"` |
| 58 | Message string `json:"message"` |
| 59 | Cause string `json:"cause"` |
| 60 | Index uint64 `json:"index"` |
| 61 | } |
| 62 | |
| 63 | func (e Error) Error() string { |
| 64 | return fmt.Sprintf("%v: %v (%v) [%v]", e.Code, e.Message, e.Cause, e.Index) |
nothing calls this directly
no outgoing calls
no test coverage detected