Documentation
¶
Overview ¶
Package retryerrors implements the retryable error interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonRecoverableError ¶
type NonRecoverableError struct {
// contains filtered or unexported fields
}
func NewNonRecoverableError ¶
func NewNonRecoverableError(msg string, err error) *NonRecoverableError
func (NonRecoverableError) Error ¶
func (e NonRecoverableError) Error() string
func (NonRecoverableError) ShouldRetry ¶
func (e NonRecoverableError) ShouldRetry() bool
type RecoverableError ¶
type RecoverableError struct {
// contains filtered or unexported fields
}
func NewRecoverableError ¶
func NewRecoverableError(msg string, err error) *RecoverableError
func (RecoverableError) Error ¶
func (e RecoverableError) Error() string
func (RecoverableError) ShouldRetry ¶
func (e RecoverableError) ShouldRetry() bool
type RetryableError ¶
Click to show internal directories.
Click to hide internal directories.