Saturday, April 02, 2011 at 9:08 PM.

radio2Suite.setupErrorReturn

on setupErrorReturn (messagestring, code) {
	<<Changes
		<<1/13/11; 4:05:18 PM by DW
			<<Created. 
	return ("{\"error\": \"" + json.encode (messagestring) + "\", \"code\": \"" + code + "\"}")};
bundle { //test code
	webbrowser.displaytext (setupErrorReturn ("Can't build the feed because there is no feed named bingoBob.xml.", 404))}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.