fix: a Anyhow error handling is missing in ssvlib_demo
This commit is contained in:
parent
71ea6423bc
commit
339377b838
@ -17,6 +17,8 @@ pub enum SSVDemoError {
|
|||||||
CartePSReading(#[from] crate::cps::CartePSError),
|
CartePSReading(#[from] crate::cps::CartePSError),
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
SSVLibErrorCode(#[from] crate::libssv::LibSSVError),
|
SSVLibErrorCode(#[from] crate::libssv::LibSSVError),
|
||||||
|
#[error(transparent)]
|
||||||
|
Anyhow(#[from] anyhow::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
fn ssv_init_lib_2() -> Result<(), SSVDemoError> {
|
fn ssv_init_lib_2() -> Result<(), SSVDemoError> {
|
||||||
|
Loading…
Reference in New Issue
Block a user