mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-06 23:33:10 +00:00
13 lines
221 B
Rust
13 lines
221 B
Rust
|
|
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),
|
||
|
|
}
|