Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusCodeError ¶
StatusCodeError represents an http response error. type httpStatusCode interface { HTTPStatusCode() int } to handle it.
func (StatusCodeError) Error ¶
func (t StatusCodeError) Error() string
func (StatusCodeError) HTTPStatusCode ¶
func (t StatusCodeError) HTTPStatusCode() int
func (StatusCodeError) Retryable ¶
func (t StatusCodeError) Retryable() bool
Click to show internal directories.
Click to hide internal directories.