github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/lib/exitcode/exitcode.go (about) 1 // Package exitcode exports rclone's exit status numbers. 2 package exitcode 3 4 const ( 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 // DurationExceeded is returned when transfer duration exceeded the quota. 26 DurationExceeded 27 )