vault-link/backend/reconcile/src/errors.rs
2024-11-17 22:12:27 +00:00

10 lines
266 B
Rust

use thiserror::Error;
#[derive(Error, Debug)]
pub enum SyncLibError {
#[error("Failed to shift the operation's index {0}")]
NegativeOperationIndexError(String),
#[error("Failed to apply operation because {0}")]
OperationApplicationError(String),
}