Skip to main content

fail

Function fail 

Source
fn fail(code: StatusCode, msg: &str) -> Response
Expand description

The same JSON error body a node returns, under a status this file picks.