tuain-ng-forms-lib 13.0.13 → 13.0.14

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.
@@ -2232,6 +2232,8 @@ class BasicFormComponent {
2232
2232
  this.formSubject = null;
2233
2233
  this._errorType = '';
2234
2234
  this.errorCode = '';
2235
+ this.errorFullCode = '';
2236
+ this.errorName = '';
2235
2237
  this.errorMessage = '';
2236
2238
  this.errorDetail = '';
2237
2239
  this.visible = false;
@@ -2492,6 +2494,8 @@ class BasicFormComponent {
2492
2494
  cleanStart() {
2493
2495
  this._errorType = '';
2494
2496
  this.errorCode = '';
2497
+ this.errorFullCode = '';
2498
+ this.errorName = '';
2495
2499
  this.errorMessage = '';
2496
2500
  this.errorDetail = '';
2497
2501
  this._formStructure = null;
@@ -2618,6 +2622,8 @@ class BasicFormComponent {
2618
2622
  getErrorType() { return this._errorType; }
2619
2623
  getErrorMessage() { return this.errorMessage; }
2620
2624
  getErrorDetail() { return this.errorDetail; }
2625
+ getErrorName() { return this.errorName; }
2626
+ getErrorFullCode() { return this.errorFullCode; }
2621
2627
  getErrorCode() { return this._errorType; }
2622
2628
  getFormParameter(name) {
2623
2629
  var _a, _b;
@@ -2735,6 +2741,8 @@ class BasicFormComponent {
2735
2741
  return false;
2736
2742
  }
2737
2743
  this.errorCode = recordResponse.errorCode;
2744
+ this.errorFullCode = recordResponse.errorFullCode;
2745
+ this.errorName = recordResponse.errorName;
2738
2746
  this.errorMessage = recordResponse.errorMessage;
2739
2747
  this.errorDetail = recordResponse.errorDetail;
2740
2748
  return true;
@@ -2759,6 +2767,8 @@ class BasicFormComponent {
2759
2767
  immutableData: (_c = this._formStructure) === null || _c === void 0 ? void 0 : _c.immutableData,
2760
2768
  };
2761
2769
  this.errorCode = NO_ERROR;
2770
+ this.errorFullCode = '';
2771
+ this.errorName = '';
2762
2772
  this.errorMessage = '';
2763
2773
  this.errorDetail = '';
2764
2774
  this.busy = true;
@@ -2770,6 +2780,8 @@ class BasicFormComponent {
2770
2780
  if (formActionResponse.hasError()) {
2771
2781
  const error = formActionResponse.error;
2772
2782
  this.errorCode = error.errorCode;
2783
+ this.errorFullCode = error.errorFullCode;
2784
+ this.errorName = error.errorName;
2773
2785
  this.errorMessage = error.errorMessage;
2774
2786
  this.errorDetail = error.errorDetail;
2775
2787
  }