Documentation ¶
Overview ¶
Package errors provides error wrapping helpers that add inline, single frame stack trace information to error messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackTraceNew ¶
BackTraceNew returns a new error with the given message, wrapped with the caller stack frame information going back up the stack until the caller of the specified function name is encountered.
func TraceMsg ¶
TraceMsg wraps the given error with the caller stack frame information and the given message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.