engine/exception/db.go

11 lines
343 B
Go

package exception
// db custom error code ,begin:300
var (
ErrDBFatal = ErrorJson(300, "DB Fatal error")
ErrCacheFatal = ErrorJson(301, "Cache Fatal error")
ErrEtcdFatal = ErrorJson(302, "Etcd Fatal error")
ErrElasticFatal = ErrorJson(303, "Elastic Fatal error")
ErrBlocksMQFatal = ErrorJson(304, "BlocksMQ Fatal error")
)