aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared.rs b/src/shared.rs
index 4c5ae65..c4803a8 100644
--- a/src/shared.rs
+++ b/src/shared.rs
@@ -30,6 +30,8 @@ pub enum QuinnetError {
ConnectionClosed,
#[error("Channel with id `{0}` is unknown")]
UnknownChannel(ChannelId),
+ #[error("The connection has no default channel")]
+ NoDefaultChannel,
#[error("Endpoint is already closed")]
EndpointAlreadyClosed,
#[error("Failed serialization")]