errwrap

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unwrap

func Unwrap(err error) error

Unwrap receives an error and returns the last error in the chain of wrapped errors

func Wrap

func Wrap(err error, msg string) error

Wrap wraps the given error using the given message while prepending the name of the calling function, creating a poor man's stack trace

Types

This section is empty.

Jump to

Keyboard shortcuts

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