Skip to main content

refusal_next

Function refusal_next 

Source
pub(crate) fn refusal_next(body: &str) -> Option<String>
Expand description

The next line out of a node’s structured rejection.

Every rejection body carries code, error and next (see ERRORS.md), and next is the only one of the three that says what to do. Printing the body alone left it as the fourth field of a JSON object, which is where a reader who is already stuck stops reading.