package
0.0.0-20220610082308-d9a8234ac006
Repository: https://github.com/hololee2cn/captcha.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
如果未设置错误码则返回-1.
如果未设置错误码则返回-1.
请依据xerrors实现来写format.
大部分逻辑与上个函数一致,不复用因为取栈层数会发生变化.
No description provided by the author
No description provided by the author
用于跨程序传递err时,从errMsg中取出code和msg 当然可以用unsafe指针转换来提高性能,但是感觉应该没必要那么写。。.
对于gRPC的错误提取出:gRPC错误码、我们自定义的错误码和错误信息.
No description provided by the author
No description provided by the author
拿到带着返回码的最深一层错误,并不代表其更深处没有错误.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author