Versions in this module Expand all Collapse all v0 v0.0.1 May 23, 2021 Changes in this version + func Because(underlying *underlying, cause error, fields ...zap.Field) *node + func CausedBy(src error, target error, deepFirst bool) bool + func CausedByNode(src error, target error, deepFirst bool) (isCausedBy bool, causeNode error) + func Is(src error, target error) bool + func JSONMarshallable(err error) error + func New(code, message string) *underlying + func NewSysErr(message string) error + func Note(err error, fields ...zap.Field) *node + type JsonErr struct + func (e JsonErr) MarshalJSON() ([]byte, error) + type Message interface + Code func() string + Message func() string + type Tracer interface + Stack func() []uintptr