Skip to main content

insert_error_keys

Function insert_error_keys 

Source
pub fn insert_error_keys(
    ctx: &mut HashMap<String, Value>,
    error_code: u16,
    error_title: &str,
    error_message: Option<&str>,
)
Expand description

Inserts the shared key set for an error page (error.html). error_message is omitted when None (matches historical behavior).