pub fn error_reply(status: StatusCode, message: impl Into<String>) -> ResponseExpand description
Build a JSON ApiResponse error body with the given HTTP status.
pub fn error_reply(status: StatusCode, message: impl Into<String>) -> ResponseBuild a JSON ApiResponse error body with the given HTTP status.