Documentation
¶
Overview ¶
Package eerror stands for Encore Error and is used to provide a little more information about the underlying error's metadata.
It also provides helper methods for working with zerolog's context
Index ¶
- func BottomStackTraceFrom(err error) (rtn errors.StackTrace)
- func LogWithMeta(evt *zerolog.Event, err error) *zerolog.Event
- func MetaFrom(err error) map[string]any
- func New(module string, msg string, meta map[string]any) error
- func WithMeta(err error, meta map[string]any) error
- func Wrap(cause error, module string, msg string, meta map[string]any) error
- func ZeroLogConsoleExtraFormatter(event map[string]any, buf *bytes.Buffer) error
- func ZeroLogStackMarshaller(err error) interface{}