feat: [sesam-vitale] Use thiserror, anyhow and expect to properly handle errors instead of unwrap

This commit is contained in:
2024-08-15 19:27:57 +02:00
parent 3f476c3114
commit 760a9cd92c
7 changed files with 229 additions and 124 deletions

View File

@ -3,6 +3,8 @@ mod libssv;
mod ssv_memory;
mod ssvlib_demo;
fn main() {
ssvlib_demo::demo();
use anyhow::{Context, Result};
fn main() -> Result<()> {
ssvlib_demo::demo().context("Error while running the SSV library demo")
}