errors

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: MPL-2.0 Imports: 1 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented = errors.New("not yet implemented")
)

General errors.

Functions

func New

func New(msg string) error

func Wrap

func Wrap(cause error, msg string) error

func Wrapf

func Wrapf(cause error, format string, args ...interface{}) error

Types

type Error

type Error struct {
	Cause           error
	Common          bool
	Message         string
	Troubleshooting string
}

func WrapError

func WrapError(cause error, err Error) Error

func (*Error) Error

func (e *Error) Error() string

Jump to

Keyboard shortcuts

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