1 2 3 4 5 6 7 8 9 10 11 12 13
use thiserror::Error; #[derive(Debug, Error)] pub enum RpcRunnerError { #[error("{0}")] Bip32(#[from] bip32::Error), #[error("{0}")] ChainError(#[from] super::chain::ChainError), #[error("{0}")] Generic(String), }