Skip to main content

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#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
5pub enum Error {
6    /// The provided index is out of bounds for the number of columns in the table.
7    #[error("Column index {0} out of bounds for table with {1} columns")]
8    ColumnIndexOutOfBounds(usize, usize),
9}