The highest tagged major version is
v12.
package
Version:
v10.4.0
Opens a new window with list of versions in this module.
Published: Oct 1, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 10
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.