feat(core): add more fine grain casting operations for signals

This commit is contained in:
Anand Balakrishnan 2023-04-16 17:14:57 -07:00
parent 4431b79bcd
commit aa952c3151
No known key found for this signature in database
3 changed files with 77 additions and 41 deletions

View file

@ -29,6 +29,9 @@ pub enum Error {
#[error("incorrect signal type")]
InvalidSignalType,
#[error("invalid cast from {from} to {to}")]
InvalidCast { from: &'static str, to: &'static str },
}
pub type ArgusError = Error;