Documentation ¶ Index ¶ func WrapError(err error, newErrStr string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WrapError ¶ func WrapError(err error, newErrStr string) error WrapAndLogError creates a new error in the format: "<newErrStr>: <err>". This function is intended to be used to wrap errors when an error is received from calling a function/method inside of a function or private method. Types ¶ This section is empty. Source Files ¶ View all Source files wrapper.go Click to show internal directories. Click to hide internal directories.