#![ cfg_attr( feature = "no_std", no_std ) ]
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
#![ doc( html_root_url = "https://docs.rs/error_tools/latest/error_tools/" ) ]
#![ warn( rust_2018_idioms ) ]
#![ deny( missing_debug_implementations ) ]
#![ deny( missing_docs ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
#[ cfg( feature = "enabled" ) ]
pub mod assert;
#[ cfg( feature = "enabled" ) ]
#[ cfg( not( feature = "no_std" ) ) ]
pub mod error;
#[ cfg( feature = "enabled" ) ]
pub mod dependency
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
#[ cfg( feature = "error_for_lib" ) ]
pub use ::thiserror;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
#[ cfg( feature = "error_for_app" ) ]
pub use ::anyhow;
}
#[ cfg( feature = "enabled" ) ]
pub mod for_lib
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
#[ cfg( feature = "error_for_lib" ) ]
pub use ::thiserror::*;
}
#[ cfg( feature = "enabled" ) ]
pub mod for_app
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
#[ cfg( feature = "error_for_app" ) ]
pub use ::anyhow::*;
}
#[ cfg( feature = "enabled" ) ]
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
#[ allow( unused_imports ) ]
#[ cfg( feature = "enabled" ) ]
pub mod protected
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
}
#[ cfg( feature = "enabled" ) ]
pub mod orphan
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
#[ cfg( feature = "error_for_app" ) ]
pub use super::for_app::Result;
}
#[ cfg( feature = "enabled" ) ]
pub mod exposed
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::assert::exposed::*;
#[ cfg( not( feature = "no_std" ) ) ]
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::error::exposed::*;
}
#[ cfg( feature = "enabled" ) ]
pub mod prelude
{
}