docs: function (errors, options) {
                  if (options.fields && options.fields.length) {
                      var field;
                      for (var j = 0; j < options.fields.length; j++) {
                          field = options.fields[j];
                          this.$errors.unset(field);
                      }
                  } else {
                      this.$errors.clear();
                  }
  
  
                  var error;
                  try {
                      for (var i = 0; i < errors.length; i++) {
                          error = errors[i];
                          if (error.$.field && !this.$errors.$.hasOwnProperty(error.$.field)) {
                              this.$errors.set(error.$.field, error);
                          } else if (!this.$errors.$.hasOwnProperty('_base')) {
                              this.$errors.set('_base', error);
                          }
                      }
                  } catch (e) {
                      this.log(e, 'warn');
                  }
                  this.trigger('isValidChanged');
              }