@alextheman/utility 1.13.0 → 1.13.1
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/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -241,6 +241,7 @@ var APIError = class extends Error {
|
|
|
241
241
|
} else {
|
|
242
242
|
this.message = (_a = httpErrorCodeLookup[this.status]) != null ? _a : "API_ERROR";
|
|
243
243
|
}
|
|
244
|
+
Object.defineProperty(this, "message", { enumerable: true });
|
|
244
245
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
245
246
|
}
|
|
246
247
|
};
|
package/dist/index.js
CHANGED
|
@@ -203,6 +203,7 @@ var APIError = class extends Error {
|
|
|
203
203
|
} else {
|
|
204
204
|
this.message = (_a = httpErrorCodeLookup[this.status]) != null ? _a : "API_ERROR";
|
|
205
205
|
}
|
|
206
|
+
Object.defineProperty(this, "message", { enumerable: true });
|
|
206
207
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
207
208
|
}
|
|
208
209
|
};
|