Documentation ¶
Index ¶
- 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
- type Message
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CausedByNode ¶
func JSONMarshallable ¶
Types ¶
type JsonErr ¶
type JsonErr struct {
// contains filtered or unexported fields
}
func (JsonErr) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.