Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallStacksString ¶
Types ¶
type CallStacker ¶
type CallStacker interface {
GetCallStack() *CallStack
}
type DetailError ¶
type DetailError interface { error ErrCoder CallStacker GetRoot() error }
func NewDetailErr ¶
func NewDetailErr(err error, errcode ErrCode, errmsg string) DetailError
type ErrCode ¶
type ErrCode int32
const ( ErrNoCode ErrCode = -2 ErrNoError ErrCode = 0 ErrUnknown ErrCode = -1 ErrDuplicatedTx ErrCode = 45002 ErrDuplicateInput ErrCode = 45003 ErrAssetPrecision ErrCode = 45004 ErrTransactionBalance ErrCode = 45005 ErrAttributeProgram ErrCode = 45006 ErrTransactionContracts ErrCode = 45007 ErrTransactionPayload ErrCode = 45008 ErrDoubleSpend ErrCode = 45009 ErrTxHashDuplicate ErrCode = 45010 ErrStateUpdaterVaild ErrCode = 45011 ErrSummaryAsset ErrCode = 45012 ErrXmitFail ErrCode = 45013 ErrNoAccount ErrCode = 45014 ErrRetryExhausted ErrCode = 45015 ErrTxPoolFull ErrCode = 45016 ErrNetPackFail ErrCode = 45017 ErrNetUnPackFail ErrCode = 45018 ErrNetVerifyFail ErrCode = 45019 ErrGasPrice ErrCode = 45020 ErrVerifySignature ErrCode = 45021 )
Click to show internal directories.
Click to hide internal directories.