Versions in this module Expand all Collapse all v1 v1.3.0 Sep 27, 2021 v1.2.2 Feb 13, 2020 Changes in this version + func As(err error, target interface{}) bool + func Is(err, target error) bool + func JSONStack(err error) []byte + func New(msg string) error + func NewWithFields(msg string, fields map[string]interface{}) error + func Restore(stack []map[string]interface{}) error + func RestoreRaw(stack []byte) error + func Stack(err error) []map[string]interface + func Unwrap(err error) error + func Wrap(err error, msg string) error + func WrapWithFields(err error, msg string, fields map[string]interface{}) error + type Error struct + func (err *Error) Unwrap() error + func (err Error) Error() string + type Fields map[string]interface