let pull.map handle errors