Enum bitcoin::util::Error [−][src]
Expand description
A general error code, other errors should implement conversions to/from this if appropriate.
Variants
Encode(Error)
Encoding error
Network(Error)
Network error
The header hash is not below the target
The target
field of a block header did not match the expected difficulty
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error