Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errorf ¶
Errorf formats according to a format specifier and returns the string as a value that satisfies error. Errorf also records the stack trace at the point it was called.
func HasStackTrace ¶
HasStackTrace tells you if the given error contains a stack trace.
func New ¶
New returns an error with the supplied message. New also records the stack trace at the point it was called.
func WithStack ¶
WithStack annotates err with a stack trace at the point WithStack was called. If err is nil, WithStack returns nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.