photondb_engine/tree/
error.rs1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum Error {
5 #[error("Again")]
6 Again,
7 #[error("Alloc")]
8 Alloc,
9 #[error(transparent)]
10 Io(#[from] std::io::Error),
11}
12
13pub type Result<T> = std::result::Result<T, Error>;