exitError

package
v0.0.0-...-7c1d26b Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(text string, exitCode ExitCode) error

Types

type ExitCode

type ExitCode int
const (
	Success ExitCode = iota
	Failure
	NotImplemented
	NotFound
	InvalidFlags
)

type ExitError

type ExitError struct {
	// contains filtered or unexported fields
}

func (*ExitError) Error

func (e *ExitError) Error() string

Jump to

Keyboard shortcuts

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