fix: a Anyhow error handling is missing in ssvlib_demo

This commit is contained in:
Florian Briand 2024-09-23 12:23:31 +02:00
parent 71ea6423bc
commit 339377b838
Signed by: florian_briand
GPG Key ID: CC981B9E6B98E70B

View File

@ -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> {