errors

package
v0.7.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(err error, add error) (r error)

Creates a new error containing the additional errors while preserving the original /pkg/error chain

func HasType

func HasType(err error, typeName string) bool

func Typed

func Typed(typeName, msg string) error

func Typedf

func Typedf(typeName, format string, o ...interface{}) error

func Wrapd

func Wrapd(err *error, msg string)

func Wrapdf

func Wrapdf(err *error, fmt string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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