lssa/nssa/core/src/error.rs

13 lines
221 B
Rust
Raw Normal View History

2025-08-18 14:28:26 -03:00
use std::io;
use thiserror::Error;
#[derive(Error, Debug)]
pub enum NssaCoreError {
#[error("Invalid transaction: {0}")]
DeserializationError(String),
#[error("IO error: {0}")]
Io(#[from] io::Error),
}