package
0.0.0-20221006145729-6d5e59d1ed0e
Repository: https://github.com/cyb0225/iam.git
Documentation: pkg.go.dev

# Functions

Is check if two error types are equal.
MustRegister register a user define error code.
New create an instance of Coder.
ParseCoder parse any error into *withCode.
Register a user define error code.
RegisterWithArgs register code, httpStatus and msg into map.
StackError return the row error, can be used to print stack information.
Unwrap returns the result of calling the Unwrap method on err, if errs type contains an Unwrap method returning error.
WithCode create err with code and error.
WithCodef create err with code and string.
Wrap a string message to error.

# Structs

No description provided by the author