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 IsServiceProviderHttpError ¶ added in v0.6.3
func IsServiceProviderHttpInternalServerError ¶ added in v0.6.3
func IsServiceProviderHttpInvalidAccessToken ¶ added in v0.6.3
Types ¶
type ServiceProviderHttpError ¶ added in v0.6.3
func (*ServiceProviderHttpError) Error ¶ added in v0.6.3
func (e *ServiceProviderHttpError) Error() string
Click to show internal directories.
Click to hide internal directories.