//
pkg.gl
Category
github.com/pojol/braid
lib
errcode
package
0.1.9
Repository:
https://github.com/pojol/braid.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
91 SLOC
#
Functions
Add
No description provided by the author
Cause
Cause cause from error to ecode.
Equal
Equal equal a and b by code int.
EqualError
EqualError equal error.
New
New new a ecode.Codes by int value.
String
String parse code string to error.
#
Variables
OK
正确.
Unknow
未知错误.
#
Structs
Code
A Code is an int error code spec.
#
Interfaces
Codes
Codes ecode error interface which has a code & message.