spec/lib/jspec.js
function(message, e) {
      if ('stack' in e)
        require('util').puts(e.stack + '\n')
      throw (message ? message : '') + e.toString() + 
              (e.line ? ' near line ' + e.line : '')
    }
function(message, e) {
      if ('stack' in e)
        require('util').puts(e.stack + '\n')
      throw (message ? message : '') + e.toString() + 
              (e.line ? ' near line ' + e.line : '')
    }
function ( message , e ) { if ( 'stack' in e ) require ( 'util' ) . puts ( e . stack + '\n' ) throw ( message ? message : '' ) + e . toString ( ) + ( e . line ? ' near line ' + e . line : '' ) }
Throw a JSpec related error.

@param {string} message
@param {Exception} e
@api public
Throw a JSpec related error .