Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromHttpResponse ¶ added in v0.5.4
FromHttpResponse returns a non-nil error if the provided response has a status code >= 400 and < 600 (i.e. auth and internal server errors). Note that the body of the response is consumed when the erroneous status code is detected so that it is preserved in the returned error object.
func IsInternalServerError ¶ added in v0.5.4
func IsInvalidAccessToken ¶ added in v0.5.4
func IsServiceProviderError ¶
Types ¶
type ServiceProviderError ¶
func (ServiceProviderError) Error ¶
func (e ServiceProviderError) Error() string
Click to show internal directories.
Click to hide internal directories.