1use sge_error_union::ErrorUnion;
2
3pub use sge_persistence_macros::persistent;
4pub use rkyv;
5
6#[derive(ErrorUnion, Debug)]
7pub enum Error {
8 Rkyv(rkyv::rancor::Error),
9 Io(std::io::Error),
10}
11
12pub type Result<T> = std::result::Result<T, Error>;