Documentation ¶
Index ¶
- func AddData(err error, additionalData map[string]any) error
- func NewError(code codes.Code, originalMessage, userMessage string) error
- func NewErrorWithData(code codes.Code, originalMessage, userMessage string, ...) error
- func Print(err error) string
- func Wrap(err error, userMessage string) error
- func WrapWithData(err error, userMessage string, additionalData map[string]any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorWithData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.