Something went wrong. Try again.
🎠 Powerfull and simple 2D game engine with ecs based on raylib forked from vyacheslavhere.tngl.sh/carousel
Something went wrong. Try again.
123456789101112131415161718192021222324use raylib::error::{InvalidImageError, LoadSoundError, LoadTextureError};use std::io;
/// Defines a texture error#[derive(Debug)]pub enum TextureError { IO(io::Error), InvalidImage(InvalidImageError), TextureLoad(LoadTextureError),}
/// Defines an audio error#[derive(Debug)]pub enum AudioError { IO(io::Error), SoundLoad(LoadSoundError),}
/// Defines an asset error#[derive(Debug)]pub enum AssetError { NoAssetFound(usize),}