Skip to main content

canonical_message

Function canonical_message 

Source
fn canonical_message(endpoint: Option<Endpoint>, code: &str) -> String
Expand description

Suotar’s fixed wording per code, endpoint being None for a request-level one. Codes whose real message names the item fall back to a generic sentence here, for a fault that names the code without a message.