Versions in this module Expand all Collapse all v0 v0.2.6 Dec 13, 2017 Changes in this version + var ErrKeyModified = New(95236, "key modify failed") v0.2.2 Nov 24, 2017 Changes in this version + var ErrArgs = New(95215, "must have name and region") + var ErrBlankTimeFormat = New(95235, "Blank time format") + var ErrCanNotFoundNode = New(95208, "could not found any node can use") + var ErrCannotSetNilValue = New(95205, "condition not match") + var ErrConditionFormat = New(95223, "error format of conditions") + var ErrCopyToUnaddressable = New(95232, "copy to value is unaddressable") + var ErrEntryTooLarge = New(95206, "entry is too large") + var ErrHaveSubJob = New(95231, "please delete sub-job first") + var ErrIllegalCharacter = New(95228, "'###' is not allow used in key") + var ErrLinkNum = New(95222, "count of links must equal to conditions plus one") + var ErrLockTimeout = New(95216, "locking timeout") + var ErrMissApiToken = New(95225, "must have Api tokens") + var ErrMissCaFile = New(95219, "have no ca file path") + var ErrMissKeyFile = New(95218, "have no key file or cert file path") + var ErrNil = New(95200, "everything is fine") + var ErrNoCmd = New(95210, "a job must have a Command") + var ErrNoExp = New(95212, "a job must have a Expression") + var ErrNoReg = New(95211, "must specify a region") + var ErrNodeDead = New(95233, "found node is not alive") + var ErrNodeNoRPC = New(95234, "found node have no completed rpc config") + var ErrNotExist = New(95201, "object not exist") + var ErrNotExpectation = New(95227, "type does not match expectations") + var ErrNotSupportSymbol = New(95224, "logic symbol not support") + var ErrParentNotExist = New(95230, "parent job not exist") + var ErrParentNotInSameRegion = New(95229, "parent job must be in same region") + var ErrRepetionToken = New(95226, "api token must be unique") + var ErrRepetition = New(95221, "already have same object") + var ErrSameJob = New(95209, "this job set himself as his parent") + var ErrScheduleParse = New(95213, "can't parse job schedule") + var ErrStartSerf = New(95217, "start serf failed") + var ErrTimeOut = New(95202, "time out") + var ErrTxnTooLarge = New(95207, "transaction is too large") + var ErrType = New(95214, "type error") + var ErrUnknown = New(95203, "unknown error") + var ErrUnknownOps = New(95220, "unknown ops") + var ErrUnknownType = New(95204, "unknown object type") + func GenGRPCErr(err error) error + type Error struct + func New(code int, text string) *Error + func NewFromGRPCErr(err error) (*Error, bool) + func (e *Error) Equal(err error) bool + func (e *Error) Error() string + func (e *Error) GenGRPCErr() error + func (e *Error) Less(err error) bool + func (e *Error) NotEqual(err error) bool