File: exitcode.go

package info (click to toggle)
rclone 1.69.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 45,716 kB
  • sloc: sh: 1,115; xml: 857; python: 754; javascript: 612; makefile: 299; ansic: 101; php: 74
file content (27 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Package exitcode exports rclone's exit status numbers.
package exitcode

const (
	// Success is returned when rclone finished without error.
	Success = iota
	// UncategorizedError is returned for any error not categorised otherwise.
	UncategorizedError
	// UsageError is returned when there was a syntax or usage error in the arguments.
	UsageError
	// DirNotFound is returned when a source or destination directory is not found.
	DirNotFound
	// FileNotFound is returned when a source or destination file is not found.
	FileNotFound
	// RetryError is returned for temporary errors during operations which may be retried.
	RetryError
	// NoRetryError is returned for errors from operations which can't/shouldn't be retried.
	NoRetryError
	// FatalError is returned for errors one or more retries won't resolve.
	FatalError
	// TransferExceeded is returned when network I/O exceeded the quota.
	TransferExceeded
	// NoFilesTransferred everything succeeded, but no transfer was made.
	NoFilesTransferred
	// DurationExceeded is returned when transfer duration exceeded the quota.
	DurationExceeded
)