pub enum GitSheetsError {
IoError(Error),
TomlError(Error),
TomlSerError(Error),
CsvError(Error),
DependencyHashMismatch(String),
EmptyTable,
NoPrimaryKey,
InvalidRowIndex(String),
FileSystemError(String),
}Expand description
Error type for git-sheets operations
Variants§
IoError(Error)
IO error during file operations
TomlError(Error)
TOML parsing error
TomlSerError(Error)
TOML serialization error
CsvError(Error)
CSV error
DependencyHashMismatch(String)
Dependency hash mismatch
EmptyTable
Empty table encountered
NoPrimaryKey
No primary key defined
InvalidRowIndex(String)
Invalid row index provided
FileSystemError(String)
File system error
Trait Implementations§
Source§impl Debug for GitSheetsError
impl Debug for GitSheetsError
Source§impl Display for GitSheetsError
impl Display for GitSheetsError
Source§impl Error for GitSheetsError
impl Error for GitSheetsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for GitSheetsError
impl From<Error> for GitSheetsError
Source§impl From<Error> for GitSheetsError
impl From<Error> for GitSheetsError
Source§impl From<Error> for GitSheetsError
impl From<Error> for GitSheetsError
Source§fn from(error: TomlSerError) -> Self
fn from(error: TomlSerError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for GitSheetsError
impl From<Error> for GitSheetsError
Source§impl PartialEq for GitSheetsError
impl PartialEq for GitSheetsError
Auto Trait Implementations§
impl Freeze for GitSheetsError
impl !RefUnwindSafe for GitSheetsError
impl Send for GitSheetsError
impl Sync for GitSheetsError
impl Unpin for GitSheetsError
impl UnsafeUnpin for GitSheetsError
impl !UnwindSafe for GitSheetsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more