Versions in this module Expand all Collapse all v1 v1.0.1 Oct 25, 2025 v1.0.0 Oct 25, 2025 Changes in this version + var MaxStackDepth = 50 + func Is(e error, original error) bool + func New(e ...interface{}) gcore.Error + func NewStackFrame(pc uintptr) (frameI gcore.StackFrame) + func ParseRecover(e interface{}) error + func Recover(f func(err interface{})) + func RecoverNop() + func RecoverNopFunc(f func()) + func Stack(e interface{}) string + func Try(f func()) (e error) + func TryWithStack(f func()) (e gcore.Error) + func Wrap(e interface{}) gcore.Error + type Error struct + Err error + func ParsePanic(text string) (*Error, error) + func (err *Error) Callers() []uintptr + func (err *Error) Error() string + func (err *Error) ErrorStack() string + func (err *Error) Stack() []byte + func (err *Error) StackFrames() []gcore.StackFrame + func (err *Error) StackStr() string + func (err *Error) String() string + func (err *Error) TypeName() string + func (this *Error) Errorf(format string, a ...interface{}) gcore.Error + func (this *Error) New(e interface{}) gcore.Error + func (this *Error) Recover(f ...interface{}) + func (this *Error) StackError(e interface{}) string + func (this *Error) Wrap(e interface{}) gcore.Error + func (this *Error) WrapN(e interface{}, skip int) gcore.Error + func (this *Error) WrapPrefix(e interface{}, prefix string, skip int) gcore.Error + func (this *Error) WrapPrefixN(e interface{}, prefix string, skip int) gcore.Error + type StackFrame struct + File string + LineNumber int + Name string + Package string + ProgramCounter uintptr + func (frame *StackFrame) Func() *runtime.Func + func (frame *StackFrame) GetFile() string + func (frame *StackFrame) GetLineNumber() int + func (frame *StackFrame) GetName() string + func (frame *StackFrame) GetPackage() string + func (frame *StackFrame) GetProgramCounter() uintptr + func (frame *StackFrame) SourceLine() (string, error) + func (frame *StackFrame) String() string