erase throws