@fern-api/generator-cli 0.9.15 → 0.9.16
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/api.js +2793 -251
- package/dist/cli.js +6 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -35152,21 +35152,23 @@ function stringifyValidationError(error) {
|
|
|
35152
35152
|
}
|
|
35153
35153
|
|
|
35154
35154
|
// src/configuration/sdk/core/schemas/builders/schema-utils/JsonError.ts
|
|
35155
|
-
var JsonError = class
|
|
35155
|
+
var JsonError = class extends Error {
|
|
35156
35156
|
constructor(errors) {
|
|
35157
35157
|
super(errors.map(stringifyValidationError).join("; "));
|
|
35158
35158
|
this.errors = errors;
|
|
35159
|
-
Object.setPrototypeOf(this,
|
|
35159
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
35160
|
+
this.name = this.constructor.name;
|
|
35160
35161
|
}
|
|
35161
35162
|
errors;
|
|
35162
35163
|
};
|
|
35163
35164
|
|
|
35164
35165
|
// src/configuration/sdk/core/schemas/builders/schema-utils/ParseError.ts
|
|
35165
|
-
var ParseError = class
|
|
35166
|
+
var ParseError = class extends Error {
|
|
35166
35167
|
constructor(errors) {
|
|
35167
35168
|
super(errors.map(stringifyValidationError).join("; "));
|
|
35168
35169
|
this.errors = errors;
|
|
35169
|
-
Object.setPrototypeOf(this,
|
|
35170
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
35171
|
+
this.name = this.constructor.name;
|
|
35170
35172
|
}
|
|
35171
35173
|
errors;
|
|
35172
35174
|
};
|