fix(client): report counter overflows clearly
This commit is contained in:
1 parent
b8d16f3d18
commit
ef18bb549c
3 files changed
+65
-9
No files matched your search
@@ -49,6 +49,8 @@ pub enum ClientError {
|
||||
AlreadyClosed,
|
||||
#[error("duration is too large to encode as nanoseconds")]
|
||||
DurationOverflow,
|
||||
#[error("counter {counter} overflowed")]
|
||||
CounterOverflow { counter: &'static str },
|
||||
#[error("pending probe limit exceeded ({limit})")]
|
||||
PendingLimitExceeded { limit: usize },
|
||||
#[error("invalid configuration: {reason}")]
|
||||
|
||||
Reference in new issue
Block a user