diff options
author | Henauxg <19689618+Henauxg@users.noreply.github.com> | 2023-01-04 18:36:51 +0100 |
---|---|---|
committer | gilles henaux <gill.henaux@gmail.com> | 2023-01-11 14:39:01 +0100 |
commit | fbc7cc326a5a2e618bf2074edb18293590fd0430 (patch) | |
tree | bb12492e23e552552b4c0543e3a43a7127c7b36b /src/shared.rs | |
parent | 6fed432b5ba751c4bd1630c9289d951a26fe403f (diff) |
[client] Add new error type NoDefaultChannel
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 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")] |