feat(client): add configuration validation and new error types

This commit is contained in:
Nils Andreas Svee committed 2026-04-28 21:55:49 +07:00
1 parent 443040c175
commit 2f5d5744ea
2 files changed
+12

No files matched your search

+2
View File
@@ -43,4 +43,6 @@ pub enum ClientError {
DurationOverflow,
#[error("pending probe limit exceeded ({limit})")]
PendingLimitExceeded { limit: usize },
#[error("invalid configuration: {reason}")]
InvalidConfig { reason: String },
}