devela/code/result/error/
reexports.rs#![allow(unused_imports)]
use crate::reexport;
reexport! { rust: core::error,
doc: "A trait representing the basic expectations for error values.",
Error
}
#[cfg(feature = "error")]
pub use crate_errors::*;
#[cfg(feature = "error")]
pub(crate) mod crate_errors {
#[doc(inline)]
#[cfg(data··)]
pub use crate::data::{DataError, DataResult};
#[doc(inline)]
#[cfg(feature = "audio")]
pub use crate::media::audio::{AudioError, AudioResult};
#[doc(inline)]
#[cfg(feature = "color")]
pub use crate::media::color::{ColorError, ColorResult};
#[doc(inline)]
#[cfg(feature = "draw")]
pub use crate::media::draw::{DrawError, DrawResult};
#[doc(inline)]
#[cfg(feature = "font")]
pub use crate::media::font::{FontError, FontResult};
#[doc(inline)]
#[cfg(feature = "image")]
pub use crate::media::image::{ImageError, ImageResult};
#[doc(inline)]
#[cfg(feature = "midi")]
pub use crate::media::midi::{MidiError, MidiResult};
#[doc(inline)]
#[cfg(media··)]
pub use crate::media::{MediaError, MediaResult};
#[doc(inline)]
pub use crate::num::{NumError, NumResult};
#[doc(inline)]
#[cfg(feature = "time")]
pub use crate::phys::time::{TimeError, TimeResult};
#[doc(inline)]
#[cfg(feature = "io")]
pub use crate::sys::io::{IoError, IoErrorKind, IoResult};
#[doc(inline)]
#[cfg(text··)]
pub use crate::text::{TextError, TextResult};
#[doc(inline)]
#[cfg(feature = "layout")]
pub use crate::ui::layout::{LayoutError, LayoutResult};
}