Skip to main content

kobe_svm/
error.rs

1//! Error types for Solana wallet operations.
2
3/// Errors that can occur during Solana wallet operations.
4#[derive(Debug, thiserror::Error)]
5#[non_exhaustive]
6pub enum Error {
7    /// Core kobe error (index overflow, SLIP-10 derivation, etc.).
8    #[error(transparent)]
9    Core(#[from] kobe_core::Error),
10
11    /// Ed25519 signature error.
12    #[error("ed25519 signature error")]
13    Signature,
14}