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
JsonRpc(Error)
Tuple Fields of JsonRpc
0: Error
Json(Error)
Tuple Fields of Json
0: Error
Io(Error)
Tuple Fields of Io
0: Error
The 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