errors

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: MIT Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(msg string) error

func WithDetails

func WithDetails(err error, data ...interface{}) error

func Wrap

func Wrap(err error, msg string, data ...interface{}) error

Types

type Error

type Error interface {
	error
	Cause() error
	Msg() string
	Data() []interface{}
}

Jump to

Keyboard shortcuts

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