1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

feat: improve error handling example - Add structured error responses with JSON format - Improve error messages and logging - Add better success/error probability constants - Use proper logging levels - Add serde for JSON serialization

This commit is contained in:
yuriynex
2025-05-04 19:12:37 -07:00
parent 00aedf05ea
commit 5ebb1ad951
2 changed files with 51 additions and 26 deletions

View File

@ -10,3 +10,5 @@ derive_more = { workspace = true, features = ["display"] }
env_logger.workspace = true
log.workspace = true
rand.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true