Showing the changes to lib/exitcode/exitcode.go (1 of 4 files). Show all
Unified · Split
| @@ -4,10 +4,10 @@ package exitcode · 3 unmodified lines | |||
| 4 | const ( | 4 | const ( |
| 5 | // Success is returned when rclone finished without error. | 5 | // Success is returned when rclone finished without error. |
| 6 | Success = iota | 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. | 7 | // UncategorizedError is returned for any error not categorised otherwise. |
| 10 | UncategorizedError | 8 | UncategorizedError |
| 9 | // UsageError is returned when there was a syntax or usage error in the arguments. | ||
| 10 | UsageError | ||
| 11 | // DirNotFound is returned when a source or destination directory is not found. | 11 | // DirNotFound is returned when a source or destination directory is not found. |
| 12 | DirNotFound | 12 | DirNotFound |
| 13 | // FileNotFound is returned when a source or destination file is not found. | 13 | // FileNotFound is returned when a source or destination file is not found. |