sqlite_diff_rs/errors.rs
1//! Submodule defining the errors used across the crate.
2
3/// Errors that can occur during diffing and patching operations.
4#[non_exhaustive]
5#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
6pub enum Error {
7 /// The provided index is out of bounds for the number of columns in the table.
8 #[error("Column index {0} out of bounds for table with {1} columns")]
9 ColumnIndexOutOfBounds(usize, usize),
10}