are you sure we don't need `cleanUpError` here ?