improve error handling

- replace anyhow with thiserror
- implement own error types
- Security: Begin to haarding Server, Prevent Crashes when Fail to receive/send Client Packet
This commit is contained in:
Snowiiii committed 2024-08-01 10:47:39 +02:00
1 parent a8d595f53f
commit c421a402fe
10 files changed
+161 -105

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ cfb8 = "0.8.1"
flate2 = "1.0.30"
bytes = "1.7"
anyhow = "1.0.86"
thiserror = "1.0.63"
base64 = "0.22.1"
image = { version = "0.25", default-features = false, features = ["png"]}