package
1.64.0-Personal
Repository: https://github.com/dceldran/rclone.git
Documentation: pkg.go.dev

# Functions

Cause is a souped up errors.Cause which can unwrap some standard library errors too.
ContextError checks to see if ctx is in error.
Count sets the isCounted variable on the error if it conforms to the CountableError interface.
FatalError makes an error which indicates it is a fatal error and the sync should stop.
FsError makes an error which can keep a record that it is already counted or not.
IsCounted returns true if err conforms to the CountableError interface and has already been counted.
IsErrNoSpace checks a possibly wrapped error to see if it contains a ENOSPC error.
IsFatalError returns true if err conforms to the Fatal interface and calling the Fatal method returns true.
IsNoLowLevelRetryError returns true if err conforms to the NoLowLevelRetry interface and calling the NoLowLevelRetry method returns true.
IsNoRetryError returns true if err conforms to the NoRetry interface and calling the NoRetry method returns true.
IsRetryAfterError returns true if err is an ErrorRetryAfter.
IsRetryError returns true if err conforms to the Retry interface and calling the Retry method returns true.
NewErrorRetryAfter returns an ErrorRetryAfter with the given duration as an endpoint.
NoLowLevelRetryError makes an error which indicates the sync shouldn't be low level retried.
NoRetryError makes an error which indicates the sync shouldn't be retried.
RetryAfterErrorTime returns the time that the RetryAfter error indicates or a Zero time.Time.
RetryError makes an error which indicates it would like to be retried.
RetryErrorf makes an error which indicates it would like to be retried.
ShouldRetry looks at an error and tries to work out if retrying the operation that caused it would be a good idea.
ShouldRetryHTTP returns a boolean as to whether this resp deserves.

# Interfaces

CountableError is an optional interface for error.
Fataler is an optional interface for error as to whether the operation should cause the entire operation to finish immediately.
NoLowLevelRetrier is an optional interface for error as to whether the operation should not be retried at a low level.
NoRetrier is an optional interface for error as to whether the operation should not be retried at a high level.
Retrier is an optional interface for error as to whether the operation should be retried at a high level.
RetryAfter is an optional interface for error as to whether the operation should be retried after a given delay This should be returned from Update or Put methods as required and will cause the entire sync to be retried after a delay.

# Type aliases

ErrorRetryAfter is an error which expresses a time that should be waited for until trying again.