added to allows customisation of internal error rendering
SetInternalResourceResultRenderer