}, {
    key: "errorsApply",
    value: function errorsApply(target) {
      target.constructor.relationships[this.name] = this.relationship;
      this.addFunction(target, this.errorFn);