exitcodes

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Success = iota
	IssuesFound
	WarningInTest
	Failure
	Timeout
	NoGoFiles
	NoConfigFileDetected
	ErrorWasLogged
)

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

type ExitError struct {
	Message string
	Code    int
}

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