Skip to main content

api_err

Function api_err 

Source
pub fn api_err(status: u16, msg: &str) -> ForgeResponse
Expand description

A JSON { "error": msg } response (JSS apiErr).