Skip to content

Commit 29956ed

Browse files
feat: export more error types (#782)
1 parent 92b938e commit 29956ed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

compio-quic/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ pub enum OpenStreamError {
10141014
/// The connection was lost
10151015
#[error("connection lost")]
10161016
ConnectionLost(#[from] ConnectionError),
1017-
// The streams in the given direction are currently exhausted
1017+
/// The streams in the given direction are currently exhausted
10181018
#[error("streams exhausted")]
10191019
StreamsExhausted,
10201020
}

compio-quic/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mod socket;
3636

3737
#[cfg(rustls)]
3838
pub use builder::{ClientBuilder, ServerBuilder};
39-
pub use connection::{Connecting, Connection, ConnectionError};
39+
pub use connection::{Connecting, Connection, ConnectionError, OpenStreamError, SendDatagramError};
4040
pub use endpoint::{Endpoint, EndpointStats};
4141
pub use incoming::{Incoming, IncomingFuture};
4242
pub use recv_stream::{ReadError, ReadExactError, RecvStream, ResetError};

0 commit comments

Comments
 (0)