Skip to main content

default_error_body

Function default_error_body 

Source
pub fn default_error_body(status_code: u16) -> String
Expand description

The default error body for the given status code (mirrors the Java/Node/Python defaultErrorBody). Exposed for parity/testing.