Module:Error/doc

Returns a suitably styled error string, and additionally adds Category:Pages with script errors to the string.

For use by modules only, because wikitext and templates are not expected to report "script" errors.