pub unsafe extern "C" fn aws_promise_error_code(
    promise: *mut aws_promise
) -> c_int