Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
type ApiError struct {
Request http.Request `json:"Request"`
StatusCode int `json:"StatusCode"`
Headers map[string]string `json:"Headers"`
Body string `json:"Body"`
}
This is the base struct for all exceptions that represent an error response from the server.
func NewApiError ¶
Constructor for ApiError.
Click to show internal directories.
Click to hide internal directories.