Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetryableError ¶
type RetryableError struct {
// Err is the original error
Err error
// After is the earliest point in time that the operation can be
// retried
After time.Time
}
func NewRetryableAnytimeError ¶
func NewRetryableAnytimeError(originalErr error) *RetryableError
func NewRetryableError ¶
func NewRetryableError(originalErr error, retryAfter time.Time) *RetryableError
func (*RetryableError) Error ¶
func (e *RetryableError) Error() string
func (*RetryableError) Unwrap ¶
func (e *RetryableError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.