The highest tagged major version is
v12.
package
Version:
v7.1.1
Opens a new window with list of versions in this module.
Published: Dec 7, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 35
Opens a new window with list of known importers.
Documentation
¶
func WithDetails(err error, data ...interface{}) error
type Error interface {
Error() string
Unwrap() error
Msg() string
Data() []interface{}
}
Error is our custom error type that allows wrapping errors with additional data.
It should be go 1.13 compatible, implementing Unwrap (formerly Cause)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.