Documentation ¶
Overview ¶
Package metaerrors provides a way to attach metadata to errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaError ¶
type MetaError struct { // Err is the underlying error. Err error // Metadata is a map of additional information that can be attached to the // error. Metadata map[string]string }
MetaError is an error that can have metadata attached to it. This can be used to send additional information to the SDK or to the user.
Click to show internal directories.
Click to hide internal directories.