npm package diff
Package: @forge/migrations
Versions: 1.0.0-next.3-experimental-c7a7d36 - 0.6.2-experimental-204139e
File: package/out/migration/errors.js
Index: package/out/migration/errors.js
===================================================================
--- package/out/migration/errors.js
+++ package/out/migration/errors.js
@@ -1,15 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.APIError = void 0;
class APIError extends Error {
- status;
- constructor(message, status) {
+ constructor(message) {
super(message);
- this.status = status;
}
static forStatus(status, message) {
- return new APIError(message, status);
+ return new APIError(message);
}
static forUnexpected(message) {
return new APIError(message);
}