code: function AssertionError( message, startFunc ) {
  		var self = this;
  
  		self.name = 'Assertion Error';
  		self.message = message;
  
  		if ( Error.captureStackTrace ) {
  			Error.captureStackTrace( self, startFunc );
  		}
  	}
docs: AssertionError stolen from node src for throwing