pub fn from_err_code_msg_to_header(code: u32, msg: &str) -> HeaderMap
Create a http header map from error code and message. using GREPTIME_DB_HEADER_ERROR_CODE and GREPTIME_DB_HEADER_ERROR_MSG as keys.
GREPTIME_DB_HEADER_ERROR_CODE
GREPTIME_DB_HEADER_ERROR_MSG