kui-utils 0.0.27 → 0.0.28

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.
package/cjs/index.js CHANGED
@@ -2232,7 +2232,7 @@ var Loader = /** @class */ (function () {
2232
2232
  };
2233
2233
  this.setError = function (errorMessage, err) {
2234
2234
  _this.hasError = true;
2235
- if (err.status === 403) {
2235
+ if ((err === null || err === void 0 ? void 0 : err.status) === 403) {
2236
2236
  _this.errorMessage = "You do not have access to this";
2237
2237
  }
2238
2238
  else {