errors

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 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.5.2

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.5.2

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.5.2

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