package
0.0.0-20240714083240-b1dae0a443cd
Repository: https://github.com/spark-lence/tiga.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
func WithInternalError(message string, code int32) ErrorOption { return func(e *Errors) { e.srvErr.Code = code e.srvErr.Message = message // e.srvErr.ErrMessage = fmt.Sprintf(errMessage, args...) } }.
No description provided by the author
func WithParamsError(code int32, message string, args ...interface{}) ErrorOption { return func(e *Errors) { e.srvErr.Code = code e.srvErr.Message = fmt.Sprintf(message, args...) } }
func WithNotFoundError(code int32, message string, args ...interface{}) ErrorOption { return func(e *Errors) { e.srvErr.Code = code e.srvErr.Message = fmt.Sprintf(message, args...) } }.
# Type aliases
No description provided by the author