Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsResponseWithError ¶
Types ¶
type Failure ¶
type Failure interface {
Failed() *Status
}
Failure is an interface that returns an api.Status (which implements Error) if there was an error in an API call.
type Response ¶
type Response struct {
Status Status `json:"ResponseStatus"`
}
Response is a generic response container.
This is useful if you don't care about the response from the API, as long as there wasn't any errors.
type Status ¶
Status is a container for the status of API calls.
This contains the error code and the reason.
func NewUnknownPathError ¶
func (Status) ObjectNotFound ¶
Click to show internal directories.
Click to hide internal directories.