tracederror

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: MIT Imports: 6 Imported by: 5

README

tracederror

Traced Error Help

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Causer

type Causer interface {
	Cause() error
}

type SimpleStackTracer

type SimpleStackTracer interface {
	StackTrace() errors.StackTrace
}

type StackTracer

type StackTracer interface {
	TracedError
	StackTrace() errors.StackTrace
}

type TracedError

type TracedError interface {
	error
	Causer
	Trace() []byte
}

func New

func New(errOrMsg interface{}, trace ...[]byte) TracedError

func Traced

func Traced(err interface{}) TracedError

func TracedWrap

func TracedWrap(err interface{}, msg string, args ...interface{}) TracedError

func Wrap

func Wrap(err TracedError, msg string, args ...interface{}) TracedError

Jump to

Keyboard shortcuts

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