Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapWithContext ¶
WrapWithContext wraps the given error with the current file, line, function, and the given context.
func WrapWithMsg ¶
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper wraps an error with the file, line, and function where the error was wrapped and an optional context map.
Click to show internal directories.
Click to hide internal directories.