Versions in this module Expand all Collapse all v2 v2.3.3 Oct 19, 2023 Changes in this version + var ErrBlockHadBeenCommited = JsonError + var ErrCodeName = map[ErrCode][]string + var ErrConcurrentVerify = JsonError + var ErrInternalError = JsonError + var ErrInvalidParams = JsonError + var ErrInvalidRequest = JsonError + var ErrMethodNotFound = JsonError + var ErrParseError = JsonError + var ErrRepeatedVerify = JsonError + var ErrStoreServiceNeedRestarted = JsonError + var ErrStructEmpty = JsonError + var ErrSyncServiceHasStarted = JsonError + var ErrSyncServiceHasStoped = JsonError + var ErrTxHadOnTheChain = JsonError + var ErrTxIdExist = JsonError + var ErrTxIdExistDB = JsonError + var ErrTxPoolHasStarted = JsonError + var ErrTxPoolHasStopped = JsonError + var ErrTxPoolLimit = JsonError + var ErrTxPoolStartFailed = JsonError + var ErrTxPoolStopFailed = JsonError + var ErrTxSource = JsonError + var ErrTxTimeout = JsonError + var WarnRwSetVerifyFailTxs = JsonError + type ErrCode int32 + const ERR_CODE_CHECK_PAYLOAD_PARAM_ARCHIVE_BLOCK + const ERR_CODE_CHECK_PAYLOAD_PARAM_SUBSCRIBE_BLOCK + const ERR_CODE_CHECK_PAYLOAD_PARAM_SUBSCRIBE_CONTRACT_EVENT + const ERR_CODE_CHECK_PAYLOAD_PARAM_SUBSCRIBE_TX + const ERR_CODE_GET_BLOCKCHAIN + const ERR_CODE_GET_CHAIN_CONF + const ERR_CODE_GET_LAST_BLOCK + const ERR_CODE_GET_STORE + const ERR_CODE_GET_SUBSCRIBER + const ERR_CODE_GET_VM_MGR + const ERR_CODE_INVOKE_CONTRACT + const ERR_CODE_OK + const ERR_CODE_SYSTEM_CONTRACT_CONTRACT_FAILED + const ERR_CODE_SYSTEM_CONTRACT_PB_UNMARSHAL + const ERR_CODE_SYSTEM_CONTRACT_QUERY_FAILED + const ERR_CODE_SYSTEM_CONTRACT_UNKNOWN_TX_ROUTE_MAP + const ERR_CODE_SYSTEM_CONTRACT_UNSUPPORT_CONTRACT_NAME + const ERR_CODE_SYSTEM_CONTRACT_UNSUPPORT_METHOD_NAME + const ERR_CODE_TXTYPE + const ERR_CODE_TX_ADD_FAILED + const ERR_CODE_TX_VERIFY_FAILED + func (e ErrCode) Int() int32 + func (e ErrCode) String() string + type Error interface + Error func() string + ErrorCode func() int + type JsonError struct + Code int + Data interface{} + Message string + func (err JsonError) Error() string + func (err JsonError) ErrorCode() int + func (err JsonError) String() string