github.com/s7techlab/cckit@v0.10.5/gateway/errors.go (about) 1 package gateway 2 3 import "errors" 4 5 var ( 6 ErrEventChannelClosed = errors.New(`event channel is closed`) 7 8 // ErrChaincodeNotExists occurs when attempting to invoke a nonexostent external chaincode 9 ErrChaincodeNotExists = errors.New(`chaincode not exists`) 10 11 // ErrSignerNotDefinedInContext msp.SigningIdentity is not defined in context 12 ErrSignerNotDefinedInContext = errors.New(`signer is not defined in context`) 13 14 // ErrUnknownInvocationType query or invoke 15 ErrUnknownInvocationType = errors.New(`unknown invocation type`) 16 )