engine/exception/db.go

11 lines
328 B
Go
Raw Permalink Normal View History

2024-02-11 01:31:01 +08:00
package exception
// db custom error code ,begin:300
var (
2024-02-20 14:55:45 +08:00
ErrDBFatal = Errorf(300, "DB Fatal error")
ErrCacheFatal = Errorf(301, "Cache Fatal error")
ErrEtcdFatal = Errorf(302, "Etcd Fatal error")
ErrElasticFatal = Errorf(303, "Elastic Fatal error")
ErrBlocksMQFatal = Errorf(304, "BlocksMQ Fatal error")
2024-02-11 01:31:01 +08:00
)