Documentation
¶
Index ¶
Constants ¶
View Source
const (
MetadataKeyCaller = "caller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error is a struct to handle error
func NewWithMetadata ¶
NewWithMetadata function used to create new error with metadata
func (*Error) GetMetadata ¶
func (*Error) GetMetadataValue ¶ added in v0.0.4
GetMetadata function used to get metadata of the error
func (*Error) SetMetadata ¶
SetMetadata function used to set metadata of the error
Click to show internal directories.
Click to hide internal directories.