errors

package
v0.1.89 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cause added in v0.1.75

func Cause(err error) error

func CodeError

func CodeError(code, message string) error

func Errorf added in v0.1.74

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

func New

func New(message string) error

func Trace added in v0.1.74

func Trace(err error) error

Types

type Coder added in v0.1.74

type Coder interface {
	Code() string
}

Jump to

Keyboard shortcuts

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