Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextualizeIfNeeded ¶ added in v1.8.0
ContextualizeIfNeeded is a helper function to turn an error into a ContextualError if it is not already one
Types ¶
type ContextualError ¶ added in v1.5.1
func NewContextualError ¶ added in v1.5.1
func NewContextualError(msg string, fields map[string]interface{}, realError error) *ContextualError
func (*ContextualError) Error ¶ added in v1.5.1
func (ce *ContextualError) Error() string
func (*ContextualError) Log ¶ added in v1.5.1
func (ce *ContextualError) Log(lr *logrus.Logger)
func (*ContextualError) Unwrap ¶ added in v1.5.1
func (ce *ContextualError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.