Enum core_rpc::Error [−][src]
pub enum Error {
JsonRpc(Error),
Hex(Error),
Json(Error),
BitcoinSerialization(Error),
Secp256k1(Error),
Io(Error),
InvalidAmount(ParseAmountError),
InvalidCookieFile,
UnexpectedStructure,
}Expand description
The error type for errors produced in this library.
Variants
Tuple Fields of JsonRpc
0: ErrorTuple Fields of Json
0: ErrorTuple Fields of Io
0: ErrorThe JSON result had an unexpected structure.
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more