errors

package
v0.0.0-...-b5d8682 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	New    = errors.New
	Errorf = errors.Errorf
	Wrap   = errors.Wrap
	Wrapf  = errors.Wrapf
)

Functions

func RichError

func RichError(err interface{}) error

Types

type PacketError

type PacketError struct {
	WireDir string
	Payload string
	// contains filtered or unexported fields
}

func NewPacketError

func NewPacketError(errOmsg interface{}, wireIdent string, WireDir, Payload string) *PacketError

func (*PacketError) Format

func (pe *PacketError) Format(s fmt.State, verb rune)

type UsageError

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

func NewUsageError

func NewUsageError(msg string) *UsageError

type WireError

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

func NewWireError

func NewWireError(msg string) *WireError

Jump to

Keyboard shortcuts

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