package
module
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jul 9, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 18
Opens a new window with list of known importers.
README
¶
Go package to add trace back and message to golang errors
Documentation
¶
Msg replace error message.
MsgNoTrace replace error message without adding trace.
this is used to create global errors, which also avoid add trace.
Trace add trace to error, without change error message.
Wrap add context to error message.
type Stack interface {
Stack() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.