lib/assertion.js
function LightAssertionError(options) {
  merge(this, options);

  if (!options.message) {
    Object.defineProperty(this, "message", {
      get: function() {
        if (!this._message) {
          this._message = this.generateMessage();
          this.generatedMessage = true;
        }
        return this._message;
      }
    });
  }
}
function LightAssertionError(options) {
  merge(this, options);

  if (!options.message) {
    Object.defineProperty(this, "message", {
      get: function() {
        if (!this._message) {
          this._message = this.generateMessage();
          this.generatedMessage = true;
        }
        return this._message;
      }
    });
  }
}
function LightAssertionError ( options ) { merge ( this , options ) ; if ( ! options . message ) { Object . defineProperty ( this , "message" , { get : function ( ) { if ( ! this . _message ) { this . _message = this . generateMessage ( ) ; this . generatedMessage = true ; } return this . _message ; } } ) ; } }
a bit hacky way how to get error to do not have stack
a bit hacky way how to get error to do not have stack