errors

package
v1.0.0-rc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

func Must(x ...interface{})

func New

func New(msg string) error

func Wrap

func Wrap(msg string, err error) error

Types

type WrappedError

type WrappedError struct {
	// contains filtered or unexported fields
}

func (*WrappedError) CausedBy

func (err *WrappedError) CausedBy(x error) bool

func (*WrappedError) Error

func (err *WrappedError) Error() string

func (*WrappedError) Format

func (err *WrappedError) Format(f fmt.State, c rune)

func (*WrappedError) FormatError

func (err *WrappedError) FormatError(p xerrors.Printer) error

func (*WrappedError) Is

func (err *WrappedError) Is(x error) bool

func (*WrappedError) Unwrap

func (err *WrappedError) Unwrap() error

Jump to

Keyboard shortcuts

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