pool: rename error variables