Fix addErr usage.