@processpuzzle/base-entity 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1843,8 +1843,10 @@ class BaseEntityFormBuilder {
1843
1843
  componentRef.instance.store = store;
1844
1844
  this.buildForm(componentRef.instance.flexBoxHost.viewContainerRef, baseEntityForm, store, column.attrDescriptors, entity);
1845
1845
  }
1846
- else
1847
- throw Error('Undefined subclass of AbstractAttrDescriptor: ' + column);
1846
+ else {
1847
+ this.logger.error('Undefined subclass of AbstractAttrDescriptor:', column);
1848
+ throw Error('Undefined subclass of AbstractAttrDescriptor.');
1849
+ }
1848
1850
  }
1849
1851
  });
1850
1852
  }
@@ -1890,8 +1892,10 @@ class BaseEntityFormBuilder {
1890
1892
  else if (column.formControlType === FormControlType.TEXT_BOX) {
1891
1893
  return TextboxComponent;
1892
1894
  }
1893
- else
1894
- throw Error('Undefined form control type: ' + column.formControlType);
1895
+ else {
1896
+ this.logger.error('Undefined form control type:', column.formControlType, column);
1897
+ throw Error('Undefined form control type.');
1898
+ }
1895
1899
  }
1896
1900
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: BaseEntityFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1897
1901
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: BaseEntityFormBuilder, providedIn: 'root' });