I am trying to capture a serde_json error and print a simple message or save the error message in a var.
following Rust: How to set desired return type in match struc