pub unsafe extern "C" fn aws_promise_fail(
    promise: *mut aws_promise,
    error_code: c_int
)