exception

package
v0.3.77 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: LGPL-2.1 Imports: 3 Imported by: 30

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCore     = errors.New("core")     // 内核错误
	ErrPanicked = errors.New("panicked") // panic错误
	ErrArgs     = errors.New("args")     // 参数错误
)

Functions

func Error added in v0.3.42

func Error(v any) error

func ErrorSkip added in v0.3.46

func ErrorSkip(skip int, v any) error

func Errorf added in v0.3.42

func Errorf(format string, args ...any) error

func ErrorfSkip added in v0.3.46

func ErrorfSkip(skip int, format string, args ...any) error

func Panic added in v0.3.42

func Panic(v any)

func PanicSkip added in v0.3.46

func PanicSkip(skip int, v any)

func Panicf added in v0.3.42

func Panicf(format string, args ...any)

func PanicfSkip added in v0.3.46

func PanicfSkip(skip int, format string, args ...any)

func TraceStack added in v0.3.42

func TraceStack(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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