errors

package
v0.0.0-...-adb3c02 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(text string) error

New returns an error that formats as the given text.

func Wrap

func Wrap(cause error, message string) error

Wrap returns an error annotating err with an additional message. Compatible with Go 1.13 error chains.

func Wrapf

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

Wrapf returns an error annotating err with an additional formatted message. Compatible with Go 1.13 error chains.

Types

This section is empty.

Jump to

Keyboard shortcuts

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