What does 'rc' stand for and what is data?  

rc seems to be passed into the template as a variable called 'templateData'.
Is data always an error string?  If so could this be called errorText or something more descriptive please.