delegate child errors to parent handler

This commit is contained in:
yggverse 2024-11-20 09:27:40 +02:00
parent e1592425b9
commit f9e35553da
7 changed files with 11 additions and 12 deletions

View file

@ -4,5 +4,5 @@ pub enum Error {
DatabaseRecordCreate(i64, String),
DatabaseRecordDelete(i64),
DatabaseRecordsRead(String),
MemoryIndex,
Memory(super::memory::Error),
}

View file

@ -1,5 +1,5 @@
mod error;
use error::Error;
pub use error::Error;
use std::{cell::RefCell, collections::HashMap};