feat(client): Reject empty open_timeouts configuration with dedicated error
This commit is contained in:
1 parent
04ebaf829a
commit
befe431304
3 files changed
+17
No files matched your search
@@ -17,6 +17,8 @@ pub enum ClientError {
|
||||
timeout: Duration,
|
||||
minimum: Duration,
|
||||
},
|
||||
#[error("open_timeouts must not be empty")]
|
||||
NoOpenTimeouts,
|
||||
#[error("server rejected the open request")]
|
||||
ServerRejected,
|
||||
#[error("unexpected no-test open reply")]
|
||||
|
||||
Reference in new issue
Block a user