Documentation
¶
Index ¶
- Constants
- Variables
- type AbiExceptions
- type ActionValidateExceptions
- type AssertException
- func (e *AssertException) AppendLog(l log.Message)
- func (e AssertException) Callback(f interface{}) bool
- func (e AssertException) Code() int64
- func (e AssertException) DetailMessage() string
- func (e AssertException) GetLog() log.Messages
- func (e AssertException) MarshalJSON() ([]byte, error)
- func (e AssertException) Name() string
- func (e AssertException) String() string
- func (e AssertException) TopMessage() string
- func (e AssertException) What() string
- type AuthorizationExceptions
- type BlockLogExceptions
- type BlockValidateExceptions
- type ChainExceptions
- type ChainTypeExceptions
- type ContractApiExceptions
- type ContractExceptions
- type ControllerEmitSignalExceptions
- type DatabaseExceptions
- type DeadlineExceptions
- type ExcTypes
- type Exception
- type FcException
- func (e *FcException) AppendLog(l log.Message)
- func (e FcException) Callback(f interface{}) bool
- func (e FcException) Code() int64
- func (e FcException) DetailMessage() string
- func (e FcException) GetLog() log.Messages
- func (e FcException) MarshalJSON() ([]byte, error)
- func (e FcException) Name() string
- func (e FcException) String() string
- func (e FcException) TopMessage() string
- func (e FcException) What() string
- type ForkDatabaseExceptions
- type GuardExceptions
- type HttpExceptions
- type MiscExceptions
- type MongoDbExceptions
- type PluginExceptions
- type ProducerExceptions
- type ResourceExhaustedExceptions
- type ResourceLimitExceptions
- type ReversibleBlocksExceptions
- type StdException
- func (e *StdException) AppendLog(l log.Message)
- func (e StdException) Callback(f interface{}) bool
- func (e StdException) Code() int64
- func (e StdException) DetailMessage() string
- func (e StdException) GetLog() log.Messages
- func (e StdException) MarshalJSON() ([]byte, error)
- func (e StdException) Name() string
- func (e StdException) String() string
- func (e StdException) TopMessage() string
- func (e StdException) What() string
- type TransactionExceptions
- type UnHandledException
- func (e *UnHandledException) AppendLog(l log.Message)
- func (e UnHandledException) Callback(f interface{}) bool
- func (e UnHandledException) Code() int64
- func (e UnHandledException) DetailMessage() string
- func (e UnHandledException) GetLog() log.Messages
- func (e UnHandledException) MarshalJSON() ([]byte, error)
- func (e UnHandledException) Name() string
- func (e UnHandledException) String() string
- func (e UnHandledException) TopMessage() string
- func (e UnHandledException) What() string
- type WalletExceptions
- type WasmExceptions
- type WhitelistBlacklistExceptions
Constants ¶
View Source
const ( UnspecifiedExceptionCode = ExcTypes(iota) UnhandledExceptionCode ///< for unhandled 3rd party exceptions TimeoutExceptionCode ///< timeout exceptions FileNotFoundExceptionCode ParseErrorExceptionCode InvalidArgExceptionCode KeyNotFoundExceptionCode BadCastExceptionCode OutOfRangeExceptionCode CanceledExceptionCode AssertExceptionCode EofExceptionCode StdExceptionCode InvalidOperationExceptionCode UnknownHostExceptionCode NullOptionalCode UdtErrorCode AesErrorCode OverflowCode UnderflowCode DivideByZeroCode )
Variables ¶
View Source
var AssertExceptionName = reflect.TypeOf(AssertException{}).Name()
View Source
var FcExceptionName = reflect.TypeOf(FcException{}).Name()
View Source
var StdExceptionName = reflect.TypeOf(StdException{}).Name()
View Source
var UnHandledExceptionName = reflect.TypeOf(UnHandledException{}).Name()
Functions ¶
This section is empty.
Types ¶
type AbiExceptions ¶
type AbiExceptions interface {
ChainExceptions
AbiExceptions()
}
*
- abi_exception
type ActionValidateExceptions ¶
type ActionValidateExceptions interface {
ChainExceptions
ActionValidateExceptions()
}
*
- action_validate_exception
type AssertException ¶
func NewAssertException ¶
func NewAssertException(parent Exception, message log.Message) *AssertException
func (*AssertException) AppendLog ¶
func (e *AssertException) AppendLog(l log.Message)
func (AssertException) Callback ¶
func (e AssertException) Callback(f interface{}) bool
func (AssertException) Code ¶
func (e AssertException) Code() int64
func (AssertException) DetailMessage ¶
func (e AssertException) DetailMessage() string
func (AssertException) GetLog ¶
func (e AssertException) GetLog() log.Messages
func (AssertException) MarshalJSON ¶
func (e AssertException) MarshalJSON() ([]byte, error)
func (AssertException) Name ¶
func (e AssertException) Name() string
func (AssertException) String ¶
func (e AssertException) String() string
func (AssertException) TopMessage ¶
func (e AssertException) TopMessage() string
func (AssertException) What ¶
func (e AssertException) What() string
type AuthorizationExceptions ¶
type AuthorizationExceptions interface {
ChainExceptions
AuthorizationExceptions()
}
*
- authorization_exception
type BlockLogExceptions ¶
type BlockLogExceptions interface {
ChainExceptions
BlockLogExceptions()
}
*
- block_log_exception
type BlockValidateExceptions ¶
type BlockValidateExceptions interface {
ChainExceptions
BlockValidateExceptions()
}
*
- block_validate_exception
type ChainExceptions ¶
type ChainExceptions interface {
Exception
ChainExceptions()
}
type ChainTypeExceptions ¶
type ChainTypeExceptions interface {
ChainExceptions
ChainTypeExceptions()
}
*
- chain_type_exception
type ContractApiExceptions ¶
type ContractApiExceptions interface {
ChainExceptions
ContractApiExceptions()
}
*
- contract_api_exception
type ContractExceptions ¶
type ContractExceptions interface {
ChainExceptions
ContractExceptions()
}
*
- contract_exception
type ControllerEmitSignalExceptions ¶
type ControllerEmitSignalExceptions interface {
ChainExceptions
ControllerEmitSignalExceptions()
}
*
- controller_emit_signal_exception
type DatabaseExceptions ¶
type DatabaseExceptions interface {
ChainExceptions
DatabaseExceptions()
}
*
- database_exception
type DeadlineExceptions ¶
type DeadlineExceptions interface {
ResourceExhaustedExceptions
DeadlineExceptions()
}
type FcException ¶
func NewFcException ¶
func NewFcException(parent Exception, message log.Message) *FcException
func (*FcException) AppendLog ¶
func (e *FcException) AppendLog(l log.Message)
func (FcException) Callback ¶
func (e FcException) Callback(f interface{}) bool
func (FcException) Code ¶
func (e FcException) Code() int64
func (FcException) DetailMessage ¶
func (e FcException) DetailMessage() string
func (FcException) GetLog ¶
func (e FcException) GetLog() log.Messages
func (FcException) MarshalJSON ¶
func (e FcException) MarshalJSON() ([]byte, error)
func (FcException) Name ¶
func (e FcException) Name() string
func (FcException) String ¶
func (e FcException) String() string
func (FcException) TopMessage ¶
func (e FcException) TopMessage() string
func (FcException) What ¶
func (e FcException) What() string
type ForkDatabaseExceptions ¶
type ForkDatabaseExceptions interface {
ChainExceptions
ForkDatabaseExceptions()
}
*
- fork_database_exception
type GuardExceptions ¶
type GuardExceptions interface {
DatabaseExceptions
GuardExceptions()
}
type HttpExceptions ¶
type HttpExceptions interface {
ChainExceptions
HttpExceptions()
}
*
- http_exception
type MiscExceptions ¶
type MiscExceptions interface {
ChainExceptions
MiscExceptions()
}
*
- misc_exception
type MongoDbExceptions ¶
type MongoDbExceptions interface {
ChainExceptions
MongoDbExceptions()
}
*
- mongo_db_exception
type PluginExceptions ¶
type PluginExceptions interface {
ChainExceptions
PluginExceptions()
}
*
- plugin_exception
type ProducerExceptions ¶
type ProducerExceptions interface {
ChainExceptions
ProducerExceptions()
}
*
- producer_exception
type ResourceExhaustedExceptions ¶
type ResourceExhaustedExceptions interface {
ChainExceptions
ResourceExhaustedExceptions()
}
*
- resource_exhausted_exception
type ResourceLimitExceptions ¶
type ResourceLimitExceptions interface {
ChainExceptions
ResourceLimitExceptions()
}
*
- resource_limit_exception
type ReversibleBlocksExceptions ¶
type ReversibleBlocksExceptions interface {
ChainExceptions
ReversibleBlocksExceptions()
}
*
- reversible_blocks_exception
type StdException ¶
func NewStdException ¶
func NewStdException(parent Exception, message log.Message) *StdException
func (*StdException) AppendLog ¶
func (e *StdException) AppendLog(l log.Message)
func (StdException) Callback ¶
func (e StdException) Callback(f interface{}) bool
func (StdException) Code ¶
func (e StdException) Code() int64
func (StdException) DetailMessage ¶
func (e StdException) DetailMessage() string
func (StdException) GetLog ¶
func (e StdException) GetLog() log.Messages
func (StdException) MarshalJSON ¶
func (e StdException) MarshalJSON() ([]byte, error)
func (StdException) Name ¶
func (e StdException) Name() string
func (StdException) String ¶
func (e StdException) String() string
func (StdException) TopMessage ¶
func (e StdException) TopMessage() string
func (StdException) What ¶
func (e StdException) What() string
type TransactionExceptions ¶
type TransactionExceptions interface {
ChainExceptions
TransactionExceptions()
}
*
- transaction_exception
type UnHandledException ¶
func NewUnHandledException ¶
func NewUnHandledException(parent Exception, message log.Message) *UnHandledException
func (*UnHandledException) AppendLog ¶
func (e *UnHandledException) AppendLog(l log.Message)
func (UnHandledException) Callback ¶
func (e UnHandledException) Callback(f interface{}) bool
func (UnHandledException) Code ¶
func (e UnHandledException) Code() int64
func (UnHandledException) DetailMessage ¶
func (e UnHandledException) DetailMessage() string
func (UnHandledException) GetLog ¶
func (e UnHandledException) GetLog() log.Messages
func (UnHandledException) MarshalJSON ¶
func (e UnHandledException) MarshalJSON() ([]byte, error)
func (UnHandledException) Name ¶
func (e UnHandledException) Name() string
func (UnHandledException) String ¶
func (e UnHandledException) String() string
func (UnHandledException) TopMessage ¶
func (e UnHandledException) TopMessage() string
func (UnHandledException) What ¶
func (e UnHandledException) What() string
type WalletExceptions ¶
type WalletExceptions interface {
ChainExceptions
WalletExceptions()
}
*
- wallet_exception
type WasmExceptions ¶
type WasmExceptions interface {
ChainExceptions
WasmExceptions()
}
*
- wasm_exception
type WhitelistBlacklistExceptions ¶
type WhitelistBlacklistExceptions interface {
ChainExceptions
WhitelistBlacklistExceptions()
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.