feat: error for invalid operations on signals

This commit is contained in:
Anand Balakrishnan 2023-03-23 15:37:02 -07:00
parent 989da9ac92
commit 02070c1f5a
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,9 @@ pub enum Error {
({current_sample:?})"
)]
NonMonotonicSignal { end_time: Duration, current_sample: Duration },
#[error("invalid operation due to bad type")]
InvalidOperation,
}
pub type ArgusError = Error;