airer

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Airer

type Airer struct {
	Kind    AirerType
	Message string
	Origin  error
}

Your illiteracy has screwed us again, charlie!

Airer is a custom error type that provides a Kind field for parsing different error types.

The name is an intentional misspelling of the word error.

func (*Airer) Error

func (e *Airer) Error() string

type AirerType

type AirerType int
const (
	ShellError AirerType = iota
	ExecError
	CompletedError
	InvalidInput
	RemoteExecError
)

func (AirerType) String

func (ar AirerType) String() string

Jump to

Keyboard shortcuts

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