fn fail(code: StatusCode, msg: &str) -> Response
The same JSON error body a node returns, under a status this file picks.