exitcodes

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Success              = 0
	IssuesFound          = 1
	WarningInTest        = 2
	Failure              = 3
	Timeout              = 4
	NoGoFiles            = 5
	NoConfigFileDetected = 6
	ErrorWasLogged       = 7
)

Variables

View Source
var (
	ErrNoGoFiles = &ExitError{
		Message: "no go files to analyze",
		Code:    NoGoFiles,
	}
	ErrFailure = &ExitError{
		Message: "failed to analyze",
		Code:    Failure,
	}
)

Functions

This section is empty.

Types

type ExitError added in v1.10.1

type ExitError struct {
	Message string
	Code    int
}

func (ExitError) Error added in v1.10.1

func (e ExitError) Error() string

Jump to

Keyboard shortcuts

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