code: function errmsgs(utils) {
    const obj = this._obj,
          errorMessages = getErrorMessages(obj);
  
    this.assert(
      _.isArray(errorMessages) && !_.isEmpty(errorMessages),
      'expected #{this} to have errmsgs',
      'expected #{this} to not have errmsgs'
    );
    utils.flag(this, 'object', errorMessages);
  }
docs: Assert that target contains one or more error messages (unsuccessful validation).
  Mutates current chainable object to be list {String[]} of error messages.
  
  @example
  expect(target).to.[not].have.errmsgs
  target.should.[not].have.errmsgs
  expect(target).to.[not].have.errmsgs.that.include(errmsg)
  target.should.have.errmsgs.that.include(errmsg)