(message: &str)
| 20 | const EXIT_FIREWALL_ERROR: i32 = 3; |
| 21 | |
| 22 | pub(crate) fn write_error(message: &str) { |
| 23 | eprintln!("{}", serde_json::json!({ "error": message })); |
| 24 | } |
| 25 | |
| 26 | fn print_json(value: &impl serde::Serialize) { |
| 27 | match serde_json::to_string(value) { |
no outgoing calls
no test coverage detected