Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithFunctionContext ¶
WithFunctionContext wraps an error with information about the function that generated the error. `skip` is the number of stack frames that need to be removed to reach the function that generated the error. If this function is called to wrap an error on the function that generated the error, then `skip` should be set to 1. Higher values of `skip` are necessary to create error wrapping functions that make use of this function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.