Sha256: 5b660472c823808bf12f6a0a2f594a82b5ee7b8febc76627d1f331c3e993f7d7
Contents?: true
Size: 716 Bytes
Versions: 40
Compression:
Stored size: 716 Bytes
Contents
getJasmineRequireObj().ExceptionFormatter = function() { function ExceptionFormatter() { this.message = function(error) { var message = ''; if (error.name && error.message) { message += error.name + ': ' + error.message; } else { message += error.toString() + ' thrown'; } if (error.fileName || error.sourceURL) { message += ' in ' + (error.fileName || error.sourceURL); } if (error.line || error.lineNumber) { message += ' (line ' + (error.line || error.lineNumber) + ')'; } return message; }; this.stack = function(error) { return error ? error.stack : null; }; } return ExceptionFormatter; };
Version data entries
40 entries across 40 versions & 2 rubygems