pub enum TxScriptError {
Show 33 variants
MalformedPushSize(Vec<u8>),
MalformedPush(usize, usize),
InvalidIndex(usize, usize),
StackSizeExceeded(usize, usize),
InvalidOpcode(String),
OpcodeReserved(String),
OpcodeDisabled(String),
EmptyStack,
CleanStack(usize),
EvalFalse,
EarlyReturn,
VerifyError,
InvalidState(String),
InvalidSignature(Error),
SigcacheSignatureInvalid,
TooManyOperations(i32),
NotATransactionInput,
ElementTooBig(usize, usize),
NotMinimalData(String),
InvalidSource(String),
UnsatisfiedLockTime(String),
NumberTooBig(String),
NullFail,
InvalidSignatureCount(String),
InvalidPubKeyCount(String),
InvalidSigHashType(u8),
PubKeyFormat,
SigLength(usize),
NoScripts,
SignatureScriptNotPushOnly,
ErrUnbalancedConditional,
InvalidStackOperation(usize, usize),
ScriptSize(usize, usize),
}
Variants§
MalformedPushSize(Vec<u8>)
MalformedPush(usize, usize)
InvalidIndex(usize, usize)
StackSizeExceeded(usize, usize)
InvalidOpcode(String)
OpcodeReserved(String)
OpcodeDisabled(String)
EmptyStack
CleanStack(usize)
EvalFalse
EarlyReturn
VerifyError
InvalidState(String)
InvalidSignature(Error)
SigcacheSignatureInvalid
TooManyOperations(i32)
NotATransactionInput
ElementTooBig(usize, usize)
NotMinimalData(String)
InvalidSource(String)
UnsatisfiedLockTime(String)
NumberTooBig(String)
NullFail
InvalidSignatureCount(String)
InvalidPubKeyCount(String)
InvalidSigHashType(u8)
PubKeyFormat
SigLength(usize)
NoScripts
SignatureScriptNotPushOnly
ErrUnbalancedConditional
InvalidStackOperation(usize, usize)
ScriptSize(usize, usize)
Trait Implementations§
Source§impl Clone for TxScriptError
impl Clone for TxScriptError
Source§fn clone(&self) -> TxScriptError
fn clone(&self) -> TxScriptError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TxScriptError
impl Debug for TxScriptError
Source§impl Display for TxScriptError
impl Display for TxScriptError
Source§impl Error for TxScriptError
impl Error for TxScriptError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for TxScriptError
impl PartialEq for TxScriptError
impl Eq for TxScriptError
impl StructuralPartialEq for TxScriptError
Auto Trait Implementations§
impl Freeze for TxScriptError
impl RefUnwindSafe for TxScriptError
impl Send for TxScriptError
impl Sync for TxScriptError
impl Unpin for TxScriptError
impl UnwindSafe for TxScriptError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more