diff options
author | gilles henaux <gill.henaux@gmail.com> | 2023-01-09 16:27:04 +0100 |
---|---|---|
committer | gilles henaux <gill.henaux@gmail.com> | 2023-01-09 16:27:04 +0100 |
commit | d248d0e789feb6a275acf899f1d2c63146893a72 (patch) | |
tree | 20630c04cfe7f33439417fde46cdee5c1d7e4e97 /src/shared.rs | |
parent | eb0b35089c4ff69333c19997840de83a8adbf7f8 (diff) |
[error] Add a ConnectionClosed error
Diffstat (limited to 'src/shared.rs')
-rw-r--r-- | src/shared.rs | 2 |
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")] |