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: 8 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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