errors

package
v2.0.50 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 73

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cause

func Cause(err error) error

func CodeError

func CodeError(code, message string) error

func Errorf

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

func New

func New(message string) error

func Trace

func Trace(err error) error

Types

type Coder

type Coder interface {
	Code() string
}

Jump to

Keyboard shortcuts

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