errors

package
v0.24.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aggregate

func Aggregate(ee ...error) error

Aggregate errors into one error.

func Errorf added in v0.23.0

func Errorf(format string, args ...interface{}) error

Errorf returns a error with a formated message.

func New

func New(msg string) error

New creates a new error.

func Wrap added in v0.23.0

func Wrap(err error, msg string) error

Wrap returns a error that wraps a error and augments it with a new message.

func Wrapf added in v0.23.0

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

Wrapf returns a error that wraps a error and augments it with a new 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