throw an error instead.