Documentation ¶
Index ¶
- Variables
- func Errorf(format string, args ...interface{}) gerror
- func GetStack(err error) string
- func IsGerror(err error) bool
- func New(format string, args ...interface{}) gerror
- func NewExt(isFatal bool, errNum string, format string, args ...interface{}) gerror
- func Wrap(err error, message string) gerror
- type GErr
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNil = error(nil) ErrNotExist = stdErr.New("not exist") ErrAlreadyExist = stdErr.New("already exist") ErrNotFound = stdErr.New("not found") // This is not a really run error, it means Database/Collection not exist in mongodb. ErrNotSupport = stdErr.New("not support") ErrNotImplemented = stdErr.New("not implemented") )
Error number.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.