ExitCode

package
v19.10.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum int

Enum ...

const (
	// OK (=0) is returned when everything is ok
	OK Enum = iota
	// Run ...
	Run
	// InvalidArgument is returned on invalid argument
	InvalidArgument
	// InvalidOption is returned on invalid option
	InvalidOption
	// NotFound is returned when resource is not found
	NotFound
	// Timeout is returned when something timed out
	Timeout
	// RPC is returned when an RPC call fails
	RPC
	// NotApplicable is returned when the command cannot be honored in the context
	NotApplicable
	// Duplicate is returned when resource already exists
	Duplicate
	// NotImplemented is returned when a function is not yet implemented
	NotImplemented

	// NextExitCode is the next error code usable
	NextExitCode
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL