@snyk/error-catalog-nodejs-public 5.0.1 → 5.1.0

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.
Files changed (39) hide show
  1. package/package.json +1 -1
  2. package/src/catalogs/Fix-error-catalog.d.ts +10 -10
  3. package/src/catalogs/Fix-error-catalog.js +21 -20
  4. package/src/catalogs/Fix-error-catalog.js.map +1 -1
  5. package/src/catalogs/IsolatedBuilds-error-catalog.d.ts +3 -3
  6. package/src/catalogs/IsolatedBuilds-error-catalog.js +7 -6
  7. package/src/catalogs/IsolatedBuilds-error-catalog.js.map +1 -1
  8. package/src/catalogs/OpenAPI-error-catalog.d.ts +8 -8
  9. package/src/catalogs/OpenAPI-error-catalog.js +17 -16
  10. package/src/catalogs/OpenAPI-error-catalog.js.map +1 -1
  11. package/src/catalogs/OpenSourceEcosystems-error-catalog.d.ts +67 -52
  12. package/src/catalogs/OpenSourceEcosystems-error-catalog.js +133 -105
  13. package/src/catalogs/OpenSourceEcosystems-error-catalog.js.map +1 -1
  14. package/src/catalogs/OpenSourceProjectIssues-error-catalog.d.ts +5 -5
  15. package/src/catalogs/OpenSourceProjectIssues-error-catalog.js +11 -10
  16. package/src/catalogs/OpenSourceProjectIssues-error-catalog.js.map +1 -1
  17. package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.d.ts +5 -5
  18. package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js +11 -10
  19. package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js.map +1 -1
  20. package/src/catalogs/OpenSourceUnmanaged-error-catalog.d.ts +2 -2
  21. package/src/catalogs/OpenSourceUnmanaged-error-catalog.js +5 -4
  22. package/src/catalogs/OpenSourceUnmanaged-error-catalog.js.map +1 -1
  23. package/src/catalogs/PurlVulnerabilityFetching-error-catalog.d.ts +20 -20
  24. package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js +41 -40
  25. package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js.map +1 -1
  26. package/src/catalogs/SbomExport-error-catalog.d.ts +9 -9
  27. package/src/catalogs/SbomExport-error-catalog.js +19 -18
  28. package/src/catalogs/SbomExport-error-catalog.js.map +1 -1
  29. package/src/catalogs/Snyk-error-catalog.d.ts +6 -6
  30. package/src/catalogs/Snyk-error-catalog.js +13 -12
  31. package/src/catalogs/Snyk-error-catalog.js.map +1 -1
  32. package/src/catalogs/error-codes.d.ts +1 -0
  33. package/src/catalogs/error-codes.js +1 -0
  34. package/src/catalogs/error-codes.js.map +1 -1
  35. package/src/problem-error.js +1 -0
  36. package/src/problem-error.js.map +1 -1
  37. package/src/types.d.ts +7 -1
  38. package/src/types.js +7 -1
  39. package/src/types.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk/error-catalog-nodejs-public",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "type": "commonjs",
5
5
  "author": "snyk.io",
6
6
  "license": "Apache-2.0",
@@ -24,7 +24,7 @@ import { ProblemError } from '../problem-error';
24
24
  * @summary Failed to get pull request attributes
25
25
  * @category Fix
26
26
  * @param {string} details the specific details that causes this error
27
- * @param {string} classification the error classification determining if the error is user-actionable or not
27
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
28
28
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
29
29
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
30
30
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -39,7 +39,7 @@ export declare class FailedToGetPullRequestAttributesError extends ProblemError
39
39
  * @summary Not found
40
40
  * @category Fix
41
41
  * @param {string} details the specific details that causes this error
42
- * @param {string} classification the error classification determining if the error is user-actionable or not
42
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
43
43
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
44
44
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
45
45
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -57,7 +57,7 @@ export declare class PullRequestTemplateNotFoundError extends ProblemError {
57
57
  * @summary Failed to compile pull request template
58
58
  * @category Fix
59
59
  * @param {string} details the specific details that causes this error
60
- * @param {string} classification the error classification determining if the error is user-actionable or not
60
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
61
61
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
62
62
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
63
63
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -75,7 +75,7 @@ export declare class FailedToCompilePrTemplateError extends ProblemError {
75
75
  * @summary Failed to parse pull request attributes
76
76
  * @category Fix
77
77
  * @param {string} details the specific details that causes this error
78
- * @param {string} classification the error classification determining if the error is user-actionable or not
78
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
79
79
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
80
80
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
81
81
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -93,7 +93,7 @@ export declare class FailedToParsePullRequestAttributesError extends ProblemErro
93
93
  * @summary Failed to load YAML file after substituting Snyk variables
94
94
  * @category Fix
95
95
  * @param {string} details the specific details that causes this error
96
- * @param {string} classification the error classification determining if the error is user-actionable or not
96
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
97
97
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
98
98
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
99
99
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -111,7 +111,7 @@ export declare class FailedToLoadCompiledYamlError extends ProblemError {
111
111
  * @summary Failed to generate hash for custom PR template
112
112
  * @category Fix
113
113
  * @param {string} details the specific details that causes this error
114
- * @param {string} classification the error classification determining if the error is user-actionable or not
114
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
115
115
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
116
116
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
117
117
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -129,7 +129,7 @@ export declare class FailedToGenerateHashError extends ProblemError {
129
129
  * @summary Unable to create pull request template
130
130
  * @category Fix
131
131
  * @param {string} details the specific details that causes this error
132
- * @param {string} classification the error classification determining if the error is user-actionable or not
132
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
133
133
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
134
134
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
135
135
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -147,7 +147,7 @@ export declare class FailedToCreatePRTemplateError extends ProblemError {
147
147
  * @summary Unable to get pull request template
148
148
  * @category Fix
149
149
  * @param {string} details the specific details that causes this error
150
- * @param {string} classification the error classification determining if the error is user-actionable or not
150
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
151
151
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
152
152
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
153
153
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -165,7 +165,7 @@ export declare class FailedToReadPRTemplateError extends ProblemError {
165
165
  * @summary Unable to delete pull request template
166
166
  * @category Fix
167
167
  * @param {string} details the specific details that causes this error
168
- * @param {string} classification the error classification determining if the error is user-actionable or not
168
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
169
169
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
170
170
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
171
171
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -180,7 +180,7 @@ export declare class FailedToDeletePRTemplateError extends ProblemError {
180
180
  * @summary Invalid payload
181
181
  * @category Fix
182
182
  * @param {string} details the specific details that causes this error
183
- * @param {string} classification the error classification determining if the error is user-actionable or not
183
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
184
184
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
185
185
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
186
186
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -16,6 +16,7 @@
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.PRTemplateInvalidPayloadError = exports.FailedToDeletePRTemplateError = exports.FailedToReadPRTemplateError = exports.FailedToCreatePRTemplateError = exports.FailedToGenerateHashError = exports.FailedToLoadCompiledYamlError = exports.FailedToParsePullRequestAttributesError = exports.FailedToCompilePrTemplateError = exports.PullRequestTemplateNotFoundError = exports.FailedToGetPullRequestAttributesError = void 0;
19
+ const types_1 = require("../types");
19
20
  const problem_error_1 = require("../problem-error");
20
21
  /**
21
22
  * @class
@@ -27,7 +28,7 @@ const problem_error_1 = require("../problem-error");
27
28
  * @summary Failed to get pull request attributes
28
29
  * @category Fix
29
30
  * @param {string} details the specific details that causes this error
30
- * @param {string} classification the error classification determining if the error is user-actionable or not
31
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
31
32
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
32
33
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
33
34
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -40,7 +41,7 @@ class FailedToGetPullRequestAttributesError extends problem_error_1.ProblemError
40
41
  status: 500,
41
42
  errorCode: 'SNYK-PR-TEMPLATE-0001',
42
43
  level: 'error',
43
- classification: 'UNEXPECTED',
44
+ classification: types_1.Classification.UNEXPECTED,
44
45
  instance,
45
46
  }, details, Object.assign({ links: [
46
47
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -56,7 +57,7 @@ exports.FailedToGetPullRequestAttributesError = FailedToGetPullRequestAttributes
56
57
  * @summary Not found
57
58
  * @category Fix
58
59
  * @param {string} details the specific details that causes this error
59
- * @param {string} classification the error classification determining if the error is user-actionable or not
60
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
60
61
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
61
62
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
62
63
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -69,7 +70,7 @@ class PullRequestTemplateNotFoundError extends problem_error_1.ProblemError {
69
70
  status: 404,
70
71
  errorCode: 'SNYK-PR-TEMPLATE-0002',
71
72
  level: 'error',
72
- classification: 'ACTIONABLE',
73
+ classification: types_1.Classification.ACTIONABLE,
73
74
  instance,
74
75
  }, details, Object.assign({ links: [] }, additionalData), cause);
75
76
  this.name = this.constructor.name;
@@ -86,7 +87,7 @@ exports.PullRequestTemplateNotFoundError = PullRequestTemplateNotFoundError;
86
87
  * @summary Failed to compile pull request template
87
88
  * @category Fix
88
89
  * @param {string} details the specific details that causes this error
89
- * @param {string} classification the error classification determining if the error is user-actionable or not
90
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
90
91
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
91
92
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
92
93
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -99,7 +100,7 @@ class FailedToCompilePrTemplateError extends problem_error_1.ProblemError {
99
100
  status: 400,
100
101
  errorCode: 'SNYK-PR-TEMPLATE-0003',
101
102
  level: 'error',
102
- classification: 'UNEXPECTED',
103
+ classification: types_1.Classification.UNEXPECTED,
103
104
  instance,
104
105
  }, details, Object.assign({ links: [
105
106
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -118,7 +119,7 @@ exports.FailedToCompilePrTemplateError = FailedToCompilePrTemplateError;
118
119
  * @summary Failed to parse pull request attributes
119
120
  * @category Fix
120
121
  * @param {string} details the specific details that causes this error
121
- * @param {string} classification the error classification determining if the error is user-actionable or not
122
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
122
123
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
123
124
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
124
125
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -131,7 +132,7 @@ class FailedToParsePullRequestAttributesError extends problem_error_1.ProblemErr
131
132
  status: 500,
132
133
  errorCode: 'SNYK-PR-TEMPLATE-0004',
133
134
  level: 'error',
134
- classification: 'UNEXPECTED',
135
+ classification: types_1.Classification.UNEXPECTED,
135
136
  instance,
136
137
  }, details, Object.assign({ links: [
137
138
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -150,7 +151,7 @@ exports.FailedToParsePullRequestAttributesError = FailedToParsePullRequestAttrib
150
151
  * @summary Failed to load YAML file after substituting Snyk variables
151
152
  * @category Fix
152
153
  * @param {string} details the specific details that causes this error
153
- * @param {string} classification the error classification determining if the error is user-actionable or not
154
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
154
155
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
155
156
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
156
157
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -163,7 +164,7 @@ class FailedToLoadCompiledYamlError extends problem_error_1.ProblemError {
163
164
  status: 400,
164
165
  errorCode: 'SNYK-PR-TEMPLATE-0005',
165
166
  level: 'error',
166
- classification: 'UNEXPECTED',
167
+ classification: types_1.Classification.UNEXPECTED,
167
168
  instance,
168
169
  }, details, Object.assign({ links: [
169
170
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -182,7 +183,7 @@ exports.FailedToLoadCompiledYamlError = FailedToLoadCompiledYamlError;
182
183
  * @summary Failed to generate hash for custom PR template
183
184
  * @category Fix
184
185
  * @param {string} details the specific details that causes this error
185
- * @param {string} classification the error classification determining if the error is user-actionable or not
186
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
186
187
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
187
188
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
188
189
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -195,7 +196,7 @@ class FailedToGenerateHashError extends problem_error_1.ProblemError {
195
196
  status: 500,
196
197
  errorCode: 'SNYK-PR-TEMPLATE-0006',
197
198
  level: 'error',
198
- classification: 'UNEXPECTED',
199
+ classification: types_1.Classification.UNEXPECTED,
199
200
  instance,
200
201
  }, details, Object.assign({ links: [
201
202
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -214,7 +215,7 @@ exports.FailedToGenerateHashError = FailedToGenerateHashError;
214
215
  * @summary Unable to create pull request template
215
216
  * @category Fix
216
217
  * @param {string} details the specific details that causes this error
217
- * @param {string} classification the error classification determining if the error is user-actionable or not
218
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
218
219
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
219
220
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
220
221
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -227,7 +228,7 @@ class FailedToCreatePRTemplateError extends problem_error_1.ProblemError {
227
228
  status: 500,
228
229
  errorCode: 'SNYK-PR-TEMPLATE-0007',
229
230
  level: 'error',
230
- classification: 'UNEXPECTED',
231
+ classification: types_1.Classification.UNEXPECTED,
231
232
  instance,
232
233
  }, details, Object.assign({ links: [
233
234
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -246,7 +247,7 @@ exports.FailedToCreatePRTemplateError = FailedToCreatePRTemplateError;
246
247
  * @summary Unable to get pull request template
247
248
  * @category Fix
248
249
  * @param {string} details the specific details that causes this error
249
- * @param {string} classification the error classification determining if the error is user-actionable or not
250
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
250
251
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
251
252
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
252
253
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -259,7 +260,7 @@ class FailedToReadPRTemplateError extends problem_error_1.ProblemError {
259
260
  status: 500,
260
261
  errorCode: 'SNYK-PR-TEMPLATE-0008',
261
262
  level: 'error',
262
- classification: 'UNEXPECTED',
263
+ classification: types_1.Classification.UNEXPECTED,
263
264
  instance,
264
265
  }, details, Object.assign({ links: [
265
266
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -278,7 +279,7 @@ exports.FailedToReadPRTemplateError = FailedToReadPRTemplateError;
278
279
  * @summary Unable to delete pull request template
279
280
  * @category Fix
280
281
  * @param {string} details the specific details that causes this error
281
- * @param {string} classification the error classification determining if the error is user-actionable or not
282
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
282
283
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
283
284
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
284
285
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -291,7 +292,7 @@ class FailedToDeletePRTemplateError extends problem_error_1.ProblemError {
291
292
  status: 500,
292
293
  errorCode: 'SNYK-PR-TEMPLATE-0009',
293
294
  level: 'error',
294
- classification: 'UNEXPECTED',
295
+ classification: types_1.Classification.UNEXPECTED,
295
296
  instance,
296
297
  }, details, Object.assign({ links: [
297
298
  'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
@@ -307,7 +308,7 @@ exports.FailedToDeletePRTemplateError = FailedToDeletePRTemplateError;
307
308
  * @summary Invalid payload
308
309
  * @category Fix
309
310
  * @param {string} details the specific details that causes this error
310
- * @param {string} classification the error classification determining if the error is user-actionable or not
311
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
311
312
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
312
313
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
313
314
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -320,7 +321,7 @@ class PRTemplateInvalidPayloadError extends problem_error_1.ProblemError {
320
321
  status: 400,
321
322
  errorCode: 'SNYK-PR-TEMPLATE-0010',
322
323
  level: 'error',
323
- classification: 'UNEXPECTED',
324
+ classification: types_1.Classification.UNEXPECTED,
324
325
  instance,
325
326
  }, details, Object.assign({ links: [] }, additionalData), cause);
326
327
  this.name = this.constructor.name;
@@ -1 +1 @@
1
- {"version":3,"file":"Fix-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Fix-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oDAAgD;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAa,qCAAsC,SAAQ,4BAAY;IACrE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,uCAAuC;YAC9C,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,YAAY;YAC5B,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,mHAAmH;aAClH,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA5BD,sFA4BC;AAED;;;;;;;;;;;GAWG;AACH,MAAa,gCAAiC,SAAQ,4BAAY;IAChE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,YAAY;YAC5B,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,K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AE,GAAG;YACX,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,YAAY;YAC5B,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA1BD,sEA0BC"}
1
+ {"version":3,"file":"Fix-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Fix-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAa,qCAAsC,SAAQ,4BAAY;IACrE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,uCAAuC;YAC9C,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,mHAAmH;aAClH,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA5BD,sFA4BC;AAED;;;;;;;;;;;GAWG;AACH,MAAa,gCAAiC,SAAQ,4BAAY;IAChE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kB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AAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA1BD,sEA0BC"}
@@ -24,7 +24,7 @@ import { ProblemError } from '../problem-error';
24
24
  * @summary Invalid request
25
25
  * @category IsolatedBuilds
26
26
  * @param {string} details the specific details that causes this error
27
- * @param {string} classification the error classification determining if the error is user-actionable or not
27
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
28
28
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
29
29
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
30
30
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -39,7 +39,7 @@ export declare class InvalidRequestError extends ProblemError {
39
39
  * @summary Build environment not found
40
40
  * @category IsolatedBuilds
41
41
  * @param {string} details the specific details that causes this error
42
- * @param {string} classification the error classification determining if the error is user-actionable or not
42
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
43
43
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
44
44
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
45
45
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -57,7 +57,7 @@ export declare class BuildEnvironmentNotFoundError extends ProblemError {
57
57
  * @summary Unsupported Ecosystem
58
58
  * @category IsolatedBuilds
59
59
  * @param {string} details the specific details that causes this error
60
- * @param {string} classification the error classification determining if the error is user-actionable or not
60
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
61
61
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
62
62
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
63
63
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -16,6 +16,7 @@
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.UnsupportedEcosystemError = exports.BuildEnvironmentNotFoundError = exports.InvalidRequestError = void 0;
19
+ const types_1 = require("../types");
19
20
  const problem_error_1 = require("../problem-error");
20
21
  /**
21
22
  * @class
@@ -27,7 +28,7 @@ const problem_error_1 = require("../problem-error");
27
28
  * @summary Invalid request
28
29
  * @category IsolatedBuilds
29
30
  * @param {string} details the specific details that causes this error
30
- * @param {string} classification the error classification determining if the error is user-actionable or not
31
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
31
32
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
32
33
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
33
34
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -40,7 +41,7 @@ class InvalidRequestError extends problem_error_1.ProblemError {
40
41
  status: 400,
41
42
  errorCode: 'SNYK-OS-8001',
42
43
  level: 'error',
43
- classification: 'ACTIONABLE',
44
+ classification: types_1.Classification.ACTIONABLE,
44
45
  instance,
45
46
  }, details, Object.assign({ links: [
46
47
  'https://apidocs.snyk.io/',
@@ -56,7 +57,7 @@ exports.InvalidRequestError = InvalidRequestError;
56
57
  * @summary Build environment not found
57
58
  * @category IsolatedBuilds
58
59
  * @param {string} details the specific details that causes this error
59
- * @param {string} classification the error classification determining if the error is user-actionable or not
60
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
60
61
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
61
62
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
62
63
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -69,7 +70,7 @@ class BuildEnvironmentNotFoundError extends problem_error_1.ProblemError {
69
70
  status: 404,
70
71
  errorCode: 'SNYK-OS-8002',
71
72
  level: 'warn',
72
- classification: 'ACTIONABLE',
73
+ classification: types_1.Classification.ACTIONABLE,
73
74
  instance,
74
75
  }, details, Object.assign({ links: [] }, additionalData), cause);
75
76
  this.name = this.constructor.name;
@@ -86,7 +87,7 @@ exports.BuildEnvironmentNotFoundError = BuildEnvironmentNotFoundError;
86
87
  * @summary Unsupported Ecosystem
87
88
  * @category IsolatedBuilds
88
89
  * @param {string} details the specific details that causes this error
89
- * @param {string} classification the error classification determining if the error is user-actionable or not
90
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
90
91
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
91
92
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
92
93
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -99,7 +100,7 @@ class UnsupportedEcosystemError extends problem_error_1.ProblemError {
99
100
  status: 400,
100
101
  errorCode: 'SNYK-OS-8003',
101
102
  level: 'error',
102
- classification: 'ACTIONABLE',
103
+ classification: types_1.Classification.ACTIONABLE,
103
104
  instance,
104
105
  }, details, Object.assign({ links: [
105
106
  'https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source',
@@ -1 +1 @@
1
- {"version":3,"file":"IsolatedBuilds-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/IsolatedBuilds-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oDAAgD;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,2DAA2D;YACjE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,YAAY;YAC5B,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,0BAA0B;aACzB,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA5BD,kDA4BC;AAED;;;;;;;;;;;GAWG;AACH,MAAa,6BAA8B,SAAQ,4BAAY;IAC7D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,6BAA6B;YACpC,IAAI,EAAE,2DAA2D;YACjE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,YAAY;YAC5B,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA1BD,sEA0BC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,yBAA0B,SAAQ,4BAAY;IACzD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,2DAA2D;YACjE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,YAAY;YAC5B,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,uLAAuL;aACtL,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA5BD,8DA4BC"}
1
+ {"version":3,"file":"IsolatedBuilds-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs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;YACjE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,uLAAuL;aACtL,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA5BD,8DA4BC"}
@@ -24,7 +24,7 @@ import { ProblemError } from '../problem-error';
24
24
  * @summary Bad request
25
25
  * @category OpenAPI
26
26
  * @param {string} details the specific details that causes this error
27
- * @param {string} classification the error classification determining if the error is user-actionable or not
27
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
28
28
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
29
29
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
30
30
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -39,7 +39,7 @@ export declare class BadRequestError extends ProblemError {
39
39
  * @summary Forbidden
40
40
  * @category OpenAPI
41
41
  * @param {string} details the specific details that causes this error
42
- * @param {string} classification the error classification determining if the error is user-actionable or not
42
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
43
43
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
44
44
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
45
45
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -54,7 +54,7 @@ export declare class ForbiddenError extends ProblemError {
54
54
  * @summary Not acceptable
55
55
  * @category OpenAPI
56
56
  * @param {string} details the specific details that causes this error
57
- * @param {string} classification the error classification determining if the error is user-actionable or not
57
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
58
58
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
59
59
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
60
60
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -69,7 +69,7 @@ export declare class NotAcceptableError extends ProblemError {
69
69
  * @summary Not found
70
70
  * @category OpenAPI
71
71
  * @param {string} details the specific details that causes this error
72
- * @param {string} classification the error classification determining if the error is user-actionable or not
72
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
73
73
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
74
74
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
75
75
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -84,7 +84,7 @@ export declare class NotFoundError extends ProblemError {
84
84
  * @summary Method not allowed
85
85
  * @category OpenAPI
86
86
  * @param {string} details the specific details that causes this error
87
- * @param {string} classification the error classification determining if the error is user-actionable or not
87
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
88
88
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
89
89
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
90
90
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -99,7 +99,7 @@ export declare class MethodNotAllowedError extends ProblemError {
99
99
  * @summary Request entity too large
100
100
  * @category OpenAPI
101
101
  * @param {string} details the specific details that causes this error
102
- * @param {string} classification the error classification determining if the error is user-actionable or not
102
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
103
103
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
104
104
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
105
105
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -117,7 +117,7 @@ export declare class RequestEntityTooLargeError extends ProblemError {
117
117
  * @summary Unauthorized
118
118
  * @category OpenAPI
119
119
  * @param {string} details the specific details that causes this error
120
- * @param {string} classification the error classification determining if the error is user-actionable or not
120
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
121
121
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
122
122
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
123
123
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
@@ -132,7 +132,7 @@ export declare class UnauthorizedError extends ProblemError {
132
132
  * @summary Unsupported media type
133
133
  * @category OpenAPI
134
134
  * @param {string} details the specific details that causes this error
135
- * @param {string} classification the error classification determining if the error is user-actionable or not
135
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
136
136
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
137
137
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
138
138
  * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata