handle error details

This commit is contained in:
yggverse 2024-11-20 10:06:22 +02:00
parent 3191ff0ff0
commit b7900489b0
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
#[derive(Debug)]
pub enum Error {
DatabaseIndex,
DatabaseIndex(sqlite::Error),
DatabaseRecordCreate(i64, String, sqlite::Error),
DatabaseRecordDelete(i64, sqlite::Error),
DatabaseRecordsRead(String),
DatabaseRecordsRead(String, sqlite::Error),
MemoryIndex(super::memory::Error),
}