Tags: naughtygopher/errors
Tags
[patch] fixed bugs in stacktrace: remove duplicates when there's nest… …ed errors [patch] fixed bugs in stacktrace: invalid trace when using formatted errors or wrapping [patch] using bytes buffer instead of string concat, fewer memory allocations and is faster [-] Updated Benchmark: fewer memory allocations, ~35% faster
[minor] `Stacktrace(err error) string` - returns a prettified stacktr… …ace of the error [minor] `StacktraceCustomFormat(msgformat string, traceFormat string, err error) string` - supports using custom format [minor] `RuntimeFrames(err error)` - returns *runtime.Frames* of the error, based on combined (if nested) program counters of the error [minor] `ProgramCounters(err error) []uintptr` - returns combined (if nested) program counters of the error [minor] fmt.Formatter interface implementation
PreviousNext