feat(core): add more fine grain casting operations for signals
This commit is contained in:
parent
4431b79bcd
commit
aa952c3151
3 changed files with 77 additions and 41 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue