-
Notifications
You must be signed in to change notification settings - Fork 13
/
error.go
24 lines (22 loc) · 1.26 KB
/
error.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package eosc
import "errors"
var (
ErrorDriverNotExist = errors.New("driver not exist")
ErrorProfessionNotExist = errors.New("profession not exist")
ErrorDriverNotMatch = errors.New("driver not match")
ErrorProfessionNotMatch = errors.New("profession not match")
ErrorNotAllowCreateForSingleton = errors.New("not allow create for singleton profession")
ErrorWorkerNotExits = errors.New("worker-data not exits")
ErrorWorkerNotRunning = errors.New("worker-data not running")
ErrorRegisterConflict = errors.New("conflict of register")
ErrorNotGetSillForRequire = errors.New("not get skill for require")
ErrorTargetNotImplementSkill = errors.New("require of skill not implement")
ErrorParamsIsNil = errors.New("params is nil")
ErrorParamNotExist = errors.New("not exist")
ErrorStoreReadOnly = errors.New("store read only")
ErrorRequire = errors.New("require")
ErrorProfessionDependencies = errors.New("profession dependencies not complete")
ErrorConfigIsNil = errors.New("config is nil")
ErrorConfigFieldUnknown = errors.New("unknown type")
ErrorConfigType = errors.New("error config type")
)