errors

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: MIT Imports: 2 Imported by: 0

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() string
	Cause() error
	Msg() string
	Data() []interface{}
}

Jump to

Keyboard shortcuts

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