Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTemporary = errors.New("temporary error") ErrPermanent = errors.New("permanent error") ErrUnreachable = errors.New("unreachable code") ErrRequestCreation = errors.New("request creation error") ErrBodyMarshalConflict = errors.New("body and marshal body conflict") ErrNetwork = errors.New("network error") ErrTimeout = errors.New("timeout error") ErrBadStatus = errors.New("bad status code") )
Functions ¶
func IsTemporary ¶
IsTemporary returns true if the error is considered temporary and can be retried.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.