exerrors

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InternalEnvalErrorKind = iota
	ToolDefinitionNotFoundEnvalErrorKind
	FlavorDefinitionNotFoundEnvalErrorKind
	UnknownParserEnvalErrorKind
	UnsupportedInputRawVersionEnvalErrorKind
	FieldVersionKeyNotFoundEnvalErrorKind
	InvalidCustomSpecsDirEnvalErrorKind
)

Variables

This section is empty.

Functions

func IsEnvalErrorWithKind

func IsEnvalErrorWithKind(err error, kind EnvalErrorKind) bool

func New

func New(msg string, kind EnvalErrorKind) error

func PrintError

func PrintError(err error) string

func Wrap

func Wrap(err error, kind EnvalErrorKind) error

Types

type EnvalError

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

func (EnvalError) Error

func (err EnvalError) Error() string

type EnvalErrorKind

type EnvalErrorKind int

Jump to

Keyboard shortcuts

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