Enum bitcoin::blockdata::transaction::Error [] [src]

pub enum Error {
    InputScriptFailure(Error),
    OutputScriptFailure(Error),
    P2shScriptFailure(Error),
    P2shScriptReturnedFalse,
    P2shScriptReturnedEmptyStack,
    ScriptReturnedFalse,
    ScriptReturnedEmptyStack,
    InputNotFound(Sha256dHashu32),
}

A transaction error

Variants

InputScriptFailure(Error)

Concatenated script failed in the input half (script error)

OutputScriptFailure(Error)

Concatenated script failed in the output half (script error)

P2shScriptFailure(Error)

P2SH serialized script failed (script error)

P2shScriptReturnedFalse

P2SH serialized script ended with false at the top of the stack

P2shScriptReturnedEmptyStack

P2SH serialized script ended with nothing in the stack

ScriptReturnedFalse

Script ended with false at the top of the stack

ScriptReturnedEmptyStack

Script ended with nothing in the stack

InputNotFound(Sha256dHashu32)

Script ended with nothing in the stack (input txid, input vout)

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Error
[src]

fn clone(&self) -> Error

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Eq for Error
[src]

impl PartialEq for Error
[src]

fn eq(&self, __arg_0: &Error) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Error) -> bool

This method tests for !=.

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Serialize for Error
[src]

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.