We end up not encoding the errors correctly if we just new up a record in line, without calling `_createErrorRecord`.  Are you suggesting we just get rid of `_createErrorRecord` altogether and move the code here?