Adds an error recovery format for the writer.