errors

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: MPL-2.0 Imports: 1 Imported by: 3 modules, 25 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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