Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrWithKeyVals ¶
type ErrWithKeyVals interface {
error
KeyVals() []interface{}
With(keyvals ...interface{}) ErrWithKeyVals
}
ErrWithKeyVals is an error with additional capabilities for easier logging
func With ¶
func With(err error, keyvals ...interface{}) ErrWithKeyVals
With returns an error with attached key values for logging
Click to show internal directories.
Click to hide internal directories.