code: function addError(data, error) {
  	if (!data.error) {
  		data.error = [];
  	}
  	error.lineNumber = data.lineNumber;
  	data.error.push(error);
  }
docs: Adds an error to the stream data
  @param data The current stream data
  @param error The error to be added.