feat: add error handling

This commit is contained in:
Alexander Navarro 2025-02-13 15:45:06 -03:00
parent 6bf3947df3
commit 8d8388e81a
5 changed files with 77 additions and 9 deletions

21
Cargo.lock generated
View file

@ -118,6 +118,7 @@ dependencies = [
"minijinja",
"notify",
"serde",
"thiserror",
"tokio",
"tower-livereload",
]
@ -594,6 +595,26 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
[[package]]
name = "thiserror"
version = "2.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "2.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "tokio"
version = "1.43.0"