rem: var stack = 'No stacktrace available\n'; var message = obj.message; var backtrace = message.indexOf('Backtrace:'); if(backtrace != -1) { stack = message.slice(backtrace); message = message.slice(0, backtrace); } return { 'name': obj.name, 'message': message, 'stack': stack }; } 
add: return obj instanceof Error; }, 
context:             function(obj) {                var stack = 'No stacktrace available\n';                var message = obj.message;                var backtrace = message.indexOf('Backtrace:');                if(backtrace != -1) {                    stack = message.slice(backtrace);                    message = message.slice(0, backtrace);                }                return {                    'name': obj.name,                    'message': message,                    'stack': stack                };            }
meta: 1565	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1565/a4582605b7d463b1dd300ec3921906d8b2fc55b8/runtime.js/clean/nevow/runtime.js