Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StackError ¶
This package exposes some handy traceback functionality buried in the runtime.
It can also be used to provide context to errors reducing the temptation to panic carelessly, just to get stack information.
The theory is that most errors that are created with the fmt.Errorf style are likely to be rare, but require more context to debug properly. The additional cost of computing a stack trace is therefore negligible.
Click to show internal directories.
Click to hide internal directories.