// SPDX-License-Identifier: MIT OR Apache-2.0 // This file is part of Static Web Server. // See https://static-web-server.net/ for more information // Copyright (C) 2019-present Jose Quintana //! Useful error type re-exports based on [anyhow][mod@anyhow]. //! /// Just a `anyhow::Result` type alias. pub type Result = anyhow::Result; /// Just an `anyhow::Error` type alias. pub type Error = anyhow::Error; /// Just re-export some `anyhow` stuff. pub use anyhow::anyhow; pub use anyhow::bail; pub use anyhow::Context;