errkit

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(e error)

func Output

func Output(filename string) (func(string, ...interface{}), *os.File)

func StackTrace

func StackTrace(size int) string

func Try

func Try(e error, protect bool)

Types

type JoinError

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

func New

func New() *JoinError

func (*JoinError) Error

func (e *JoinError) Error() string

func (*JoinError) Len

func (e *JoinError) Len() int

func (*JoinError) Try

func (e *JoinError) Try(key string, err error)

func (*JoinError) Wrap

func (e *JoinError) Wrap() error

Jump to

Keyboard shortcuts

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