package
0.21.18
Repository: https://github.com/itrellis/common.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
New 生成简单对象.
NewErrorCode get a new error code.
NewErrors 生成错误数据对象.
Newf 生成简单对象.
OptionCode set error code into options.
OptionContext set error context into options.
OptionErrs append errs.
OptionID set id into options.
OptionMesssage set error message into options.
OptionNamespace set error code into options.
No description provided by the author
TN returns a new error code template.

# Structs

Error error define.
ErrorCodeTmpl error code template.
ErrorOptions error parmas.
No description provided by the author

# Interfaces

ErrorCode Error functions.
SimpleError simple error functions.

# Type aliases

ErrorContext map contexts.
Errors error slice.
No description provided by the author
OptionFunc set params.
Params template params.