errutil

package
v0.0.85-test Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.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