Besides the extra space, why not use only one error variable in the first place?