1// Package exitcode exports rclone's exit status numbers. 2package exitcode 3 4const ( 5 // Success is returned when rclone finished without error. 6 Success = iota 7 // UsageError is returned when there was a syntax or usage error in the arguments. 8 UsageError 9 // UncategorizedError is returned for any error not categorised otherwise. 10 UncategorizedError 11 // DirNotFound is returned when a source or destination directory is not found. 12 DirNotFound 13 // FileNotFound is returned when a source or destination file is not found. 14 FileNotFound 15 // RetryError is returned for temporary errors during operations which may be retried. 16 RetryError 17 // NoRetryError is returned for errors from operations which can't/shouldn't be retried. 18 NoRetryError 19 // FatalError is returned for errors one or more retries won't resolve. 20 FatalError 21 // TransferExceeded is returned when network I/O exceeded the quota. 22 TransferExceeded 23 // NoFilesTransferred everything succeeded, but no transfer was made. 24 NoFilesTransferred 25) 26