Error is the type of the kite related errors returned from kite package.
| 13 | |
| 14 | // Error is the type of the kite related errors returned from kite package. |
| 15 | type Error struct { |
| 16 | Type string `json:"type"` |
| 17 | Message string `json:"message"` |
| 18 | CodeVal string `json:"code"` |
| 19 | RequestID string `json:"id"` |
| 20 | } |
| 21 | |
| 22 | func (e Error) Code() string { |
| 23 | return e.CodeVal |
nothing calls this directly
no outgoing calls
no test coverage detected