Versions in this module Expand all Collapse all v0 v0.0.1 Aug 24, 2022 Changes in this version + func GetError(err error) error + func GetErrorCode(err error) int + func WithoutStackTrace(err error) error + type ErrorStruct struct + Code int + Data interface{} + Err error + func Err(text string) ErrorStruct + func Errf(format string, v ...interface{}) ErrorStruct + func WrapError(err error) ErrorStruct + func (e ErrorStruct) Error() string + func (e ErrorStruct) WithData(data interface{}) ErrorStruct + func (e ErrorStruct) WithErrorCode(code int) ErrorStruct