kobe-evm 0.7.3

Ethereum HD wallet derivation for Kobe
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Error types for Ethereum wallet operations.

#[cfg(feature = "alloc")]
use alloc::string::String;

/// Errors from Ethereum HD derivation.
#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
    /// Core kobe error (index overflow, BIP-32 derivation, etc.).
    #[error(transparent)]
    Core(#[from] kobe_core::Error),

    /// Unknown derivation style string.
    #[cfg(feature = "alloc")]
    #[error("unknown derivation style: {0}")]
    UnknownDerivationStyle(String),
}