errutil

package
v0.0.0-...-34a2968 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(message string, err error) error

Wrap is a simple wrapper around fmt.Errorf that wraps errors.

func Wrapf

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

Wrapf is a simple wrapper around fmt.Errorf that wraps errors. Wrapf allows you to send a format and args instead of just a message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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