Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
When an API call fails, we may want to distinguish among the causes by status code. This type can be used as the base error when we get a non-"HTTP 20x" response, retrievable with errors.Cause(err).
func (*APIError) IsMissing ¶
Is this API call missing? This usually indicates that there is a version mismatch between the client and the service.
func (*APIError) IsUnavailable ¶
Does this error mean the API service is unavailable?
Click to show internal directories.
Click to hide internal directories.