error

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// http://tldp.org/LDP/abs/html/exitcodes.html
	ExitSuccess = iota
	ExitError
	// ExitBadArgs is the exit error code for bad arguments.
	ExitBadArgs = 128
)

Variables

This section is empty.

Functions

func ExitWithError

func ExitWithError(code int, err error)

ExitWithError prints out an error code and an error string to stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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