Versions in this module Expand all Collapse all v1 v1.0.0 Aug 18, 2026 Changes in this version + var ErrPanic = errors.New("panic") + func Catch(fn func()) error + func CatchError(fn func() error) (err error) + func Is(err error) bool + type Panic struct + Value any + func As(err error) (*Panic, bool) + func Recover(recovered any) *Panic + func (p *Panic) Error() string + func (p *Panic) StackTrace() []uintptr + func (p *Panic) Unwrap() []error