Error is an error returned by the API.
| 443 | |
| 444 | // Error is an error returned by the API. |
| 445 | type Error struct { |
| 446 | Type ErrorType |
| 447 | Msg string |
| 448 | Detail string |
| 449 | } |
| 450 | |
| 451 | func (e *Error) Error() string { |
| 452 | return fmt.Sprintf("%s: %s", e.Type, e.Msg) |
nothing calls this directly
no outgoing calls
no test coverage detected