aboutsummaryrefslogtreecommitdiff
path: root/src/shared.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared.rs')
-rw-r--r--src/shared.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared.rs b/src/shared.rs
index 247841f..608bb0c 100644
--- a/src/shared.rs
+++ b/src/shared.rs
@@ -25,6 +25,8 @@ pub enum QuinnetError {
UnknownClient(ClientId),
#[error("Connection with id `{0}` is unknown")]
UnknownConnection(ConnectionId),
+ #[error("Connection is closed")]
+ ConnectionClosed,
#[error("Endpoint is already closed")]
EndpointAlreadyClosed,
#[error("Failed serialization")]