B2G/gecko/services/sync/tps/extensions/mozmill/resource/modules/assertions.js
/**
* AssertionError
*
* Error object thrown by failing assertions
*/
AssertionError
Error object thrown by failing assertions
AssertionError Error object thrown by failing assertions
function AssertionError(message, fileName, lineNumber) {
  var err = new Error();
  if (err.stack) {
    this.stack = err.stack;
  }
  this.message = message === undefined ? err.message : message;
  this.fileName = fileName === undefined ? err.fileName : fileName;
  this.lineNumber = lineNumber === undefined ? err.lineNumber : lineNumber;
}
function AssertionError ( message , fileName , lineNumber ) { var err = new Error ( ) ; if ( err . stack ) { this . stack = err . stack ; } this . message = message === undefined ? err . message : message ; this . fileName = fileName === undefined ? err . fileName : fileName ; this . lineNumber = lineNumber === undefined ? err . lineNumber : lineNumber ; }
AssertionError
Error object thrown by failing assertions
AssertionError Error object thrown by failing assertions