ryot 0.2.2

MMORPG library based on the concepts of open tibia written in rust and bevy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::result;
use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[cfg(all(feature = "lmdb", not(target_arch = "wasm32")))]
    #[error("Database error: {0}")]
    DatabaseError(#[from] heed::Error),
    #[error("Could not read the file: {0}")]
    Io(#[from] std::io::Error),
}

pub type Result<T> = result::Result<T, Error>;