code: function AssertionError(options) {
    var assertionError = Object.create(AssertionError.prototype);
  
    if (utils.isString(options))
      options = { message: options };
    if ("actual" in options)
      assertionError.actual = options.actual;
    if ("expected" in options)
      assertionError.expected = options.expected;
    if ("operator" in options)
      assertionError.operator = options.operator;
  
    assertionError.message = options.message;
    assertionError.stack = new Error().stack;
    return assertionError;
  }
docs: The `AssertionError` is defined in assert.
  @extends Error
  @example
  new assert.AssertionError({
  message: message,
  actual: actual,
  expected: expected
  })