Skip to main content

error_status

Function error_status 

Source
pub fn error_status(name: &str) -> Option<u16>
Expand description

The status an ErrorStatus name stands for in RawError’s first argument (#2341, L4): one of the vocabulary’s own 4xx/5xx variant names (Forbidden → 403). None for any other name.