Codebase list golang-github-ovh-go-ovh / upstream/1.1.0+git20211209.1.5bcee91
Import upstream version 1.1.0+git20211209.1.5bcee91 Debian Janitor 1 year, 11 months ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
33
44 // APIError represents an error that can occurred while calling the API.
55 type APIError struct {
6 // Error class
7 Class string `json:"class,omitempty"`
68 // Error message.
7 Message string
9 Message string `json:"message"`
10 // Error details
11 Details map[string]string `json:"details,omitempty"`
812 // HTTP code.
913 Code int
1014 // ID of the request