errors

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(msg string) error

New a copy of stdlib errors.New

func Newf

func Newf(format string, a ...interface{}) error

Newf just calls fmt.Errorf

func Wrap

func Wrap(err error, msg string) error

Wrap wraps an error with given message

func Wrapf

func Wrapf(err error, format string, a ...interface{}) error

Wrapf wraps an error with given formatted message

Types

This section is empty.

Jump to

Keyboard shortcuts

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