errors

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(msg string) error

func NewError

func NewError(err error) error

func NewErrorf

func NewErrorf(format string, a ...interface{}) error

func Stack

func Stack(err error) string

func Trace

func Trace(err error, format string, a ...interface{}) error

Types

type ErrorTrace

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

func (*ErrorTrace) Error

func (e *ErrorTrace) Error() string

Jump to

Keyboard shortcuts

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