Enum sputnikvm::errors::EvalError
[−]
[src]
pub enum EvalError { OnChain(OnChainError), NotSupported(NotSupportedError), Require(RequireError), }
Eval error. On-chain error, not-supported error or require error.
Variants
OnChain(OnChainError)
On chain error.
NotSupported(NotSupportedError)
Off chain error due to VM not supported.
Require(RequireError)
Require error for additional accounts.
Trait Implementations
impl From<OnChainError> for EvalError
[src]
fn from(val: OnChainError) -> EvalError
[src]
Performs the conversion.
impl From<NotSupportedError> for EvalError
[src]
fn from(val: NotSupportedError) -> EvalError
[src]
Performs the conversion.
impl From<RuntimeError> for EvalError
[src]
fn from(val: RuntimeError) -> EvalError
[src]
Performs the conversion.
impl From<EvalOnChainError> for EvalError
[src]
fn from(val: EvalOnChainError) -> EvalError
[src]
Performs the conversion.
impl Debug for EvalError
[src]
impl Clone for EvalError
[src]
fn clone(&self) -> EvalError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<RequireError> for EvalError
[src]
fn from(val: RequireError) -> EvalError
[src]
Performs the conversion.