Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapIfError ¶
WrapIfError wraps the provided error with an additional message if it is not nil. This is intended to be used inside a defer to wrap the returned error
func WrapWithFuncNameIfError ¶
func WrapWithFuncNameIfError(err *error)
WrapIfError wraps the provided error with the name of the caller if the error is not nil. This is intended to be used inside a defer to wrap the returned error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.