Documentation
¶
Index ¶
- Variables
- func Error(v any) error
- func ErrorSkip(skip int, v any) error
- func Errorf(format string, args ...any) error
- func ErrorfSkip(skip int, format string, args ...any) error
- func Panic(v any)
- func PanicSkip(skip int, v any)
- func Panicf(format string, args ...any)
- func PanicfSkip(skip int, format string, args ...any)
- func TraceStack(err error) error
- type StackedError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTiny = fmt.Errorf("%w: tiny", core_exception.ErrCore) // 内核错误 ErrPanicked = core_exception.ErrPanicked // panic错误 ErrArgs = core_exception.ErrArgs // 参数错误 )
Functions ¶
func PanicfSkip ¶ added in v0.1.52
func TraceStack ¶ added in v0.1.52
Types ¶
type StackedError ¶ added in v0.1.52
func (StackedError) Error ¶ added in v0.1.52
func (e StackedError) Error() string
Click to show internal directories.
Click to hide internal directories.