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

This commit is contained in:
Nils Andreas Svee committed 2026-05-10 20:56:43 +07:00
1 parent 265618b97e
commit cdf41f2a82
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 },
}