[][src]Enum ckb_script::ScriptError

pub enum ScriptError {
    InvalidCodeHash,
    ExceededMaximumCycles(Cycle),
    MultipleMatches,
    ValidationFailure(i8),
    EncounteredKnownBugs(Stringusize),
    VMInternalError(String),
}

Variants

InvalidCodeHash

The field code_hash in script is invalid

ExceededMaximumCycles(Cycle)

The script consumes too much cycles

MultipleMatches

script.type_hash hits multiple cells with different data

ValidationFailure(i8)

Non-zero exit code returns by script

EncounteredKnownBugs(Stringusize)

Known bugs are detected in transaction script outputs

VMInternalError(String)

Known bugs are detected in transaction script outputs

Implementations

impl ScriptError[src]

Trait Implementations

impl Clone for ScriptError[src]

impl Debug for ScriptError[src]

impl Display for ScriptError[src]

impl Eq for ScriptError[src]

impl Fail for ScriptError[src]

impl PartialEq<ScriptError> for ScriptError[src]

impl StructuralEq for ScriptError[src]

impl StructuralPartialEq for ScriptError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any

impl<T> AsFail for T where
    T: Fail
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,