h3/error/
mod.rs

1//! This module contains the error handling logic and types for the h3 crate.
2
3mod codes;
4
5#[cfg(feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes")]
6pub mod connection_error_creators;
7#[cfg(not(feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes"))]
8pub(crate) mod connection_error_creators;
9
10#[cfg(feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes")]
11pub mod internal_error;
12#[cfg(not(feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes"))]
13pub(crate) mod internal_error;
14
15mod error;
16
17pub use codes::Code;
18pub use error::{ConnectionError, LocalError, StreamError};