Versions in this module Expand all Collapse all v0 v0.1.0 Oct 21, 2024 Changes in this version + const WSAECONNABORTED — windows/amd64 + const WSAECONNREFUSED — windows/amd64 + const WSAECONNRESET — windows/amd64 + const WSAEDISCON — windows/amd64 + const WSAEHOSTDOWN — windows/amd64 + const WSAEHOSTUNREACH — windows/amd64 + const WSAENETDOWN — windows/amd64 + const WSAENETRESET — windows/amd64 + const WSAENETUNREACH — windows/amd64 + const WSAENOBUFS — windows/amd64 + const WSAENOTCONN — windows/amd64 + const WSAEREFUSED — windows/amd64 + const WSAESHUTDOWN — windows/amd64 + const WSAETIMEDOUT — windows/amd64 + const WSAHOST_NOT_FOUND — windows/amd64 + const WSATRY_AGAIN — windows/amd64 + func Cause(cause error) (retriable bool, err error) + func ContextError(ctx context.Context, perr *error) bool + func Count(err error) + func FatalError(err error) error + func FsError(err error) error + func IsCounted(err error) bool + func IsErrNoSpace(cause error) (isNoSpc bool) + func IsFatalError(err error) (isFatal bool) + func IsNoLowLevelRetryError(err error) (isNoLowLevelRetry bool) + func IsNoRetryError(err error) (isNoRetry bool) + func IsRetryAfterError(err error) bool + func IsRetryError(err error) (isRetry bool) + func NoLowLevelRetryError(err error) error + func NoRetryError(err error) error + func RetryAfterErrorTime(err error) (retryAfter time.Time) + func RetryError(err error) error + func RetryErrorf(format string, a ...interface{}) error + func ShouldRetry(err error) bool + func ShouldRetryHTTP(resp *http.Response, retryErrorCodes []int) bool + type CountableError interface + Count func() + IsCounted func() bool + type ErrorRetryAfter time.Time + func NewErrorRetryAfter(d time.Duration) ErrorRetryAfter + func (e ErrorRetryAfter) Error() string + func (e ErrorRetryAfter) RetryAfter() time.Time + type Fataler interface + Fatal func() bool + type NoLowLevelRetrier interface + NoLowLevelRetry func() bool + type NoRetrier interface + NoRetry func() bool + type Retrier interface + Retry func() bool + type RetryAfter interface + RetryAfter func() time.Time