Skip to main content

refusal_explanation

Function refusal_explanation 

Source
pub fn refusal_explanation(status: u16, guest_port: u16) -> Option<String>
Expand description

The 403-vs-502 sentence, or None for a status that needs no explaining.

Free function so the wording is tested without standing up a listener, and so the CLI cannot drift from it by writing its own.