mirror of
https://github.com/singchia/frontier.git
synced 2025-10-31 03:26:33 +08:00
stream: finish basic streams exchange logics
This commit is contained in:
20
pkg/apis/error.go
Normal file
20
pkg/apis/error.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package apis
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
var (
|
||||
ErrEdgeNotOnline = errors.New("edge not online")
|
||||
ErrServiceNotOnline = errors.New("service not online")
|
||||
ErrRPCNotOnline = errors.New("rpc not online")
|
||||
ErrTopicNotOnline = errors.New("topic not online")
|
||||
ErrIllegalEdgeID = errors.New("illegal edgeID")
|
||||
ErrRecordNotFound = gorm.ErrRecordNotFound
|
||||
)
|
||||
|
||||
var (
|
||||
ErrStrUseOfClosedConnection = "use of closed network connection"
|
||||
)
|
||||
Reference in New Issue
Block a user