@snyk/error-catalog-nodejs-public 5.33.0 → 5.34.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.
- package/package.json +1 -1
- package/src/catalogs/CLI-error-catalog.d.ts +3 -0
- package/src/catalogs/CLI-error-catalog.js +8 -0
- package/src/catalogs/CLI-error-catalog.js.map +1 -1
- package/src/catalogs/Code-error-catalog.d.ts +11 -0
- package/src/catalogs/Code-error-catalog.js +42 -0
- package/src/catalogs/Code-error-catalog.js.map +1 -1
- package/src/catalogs/CustomBaseImages-error-catalog.d.ts +19 -0
- package/src/catalogs/CustomBaseImages-error-catalog.js +43 -0
- package/src/catalogs/CustomBaseImages-error-catalog.js.map +1 -1
- package/src/catalogs/Fix-error-catalog.d.ts +22 -0
- package/src/catalogs/Fix-error-catalog.js +44 -0
- package/src/catalogs/Fix-error-catalog.js.map +1 -1
- package/src/catalogs/Integration-error-catalog.d.ts +1 -0
- package/src/catalogs/Integration-error-catalog.js +2 -0
- package/src/catalogs/Integration-error-catalog.js.map +1 -1
- package/src/catalogs/IsolatedBuilds-error-catalog.d.ts +4 -0
- package/src/catalogs/IsolatedBuilds-error-catalog.js +13 -0
- package/src/catalogs/IsolatedBuilds-error-catalog.js.map +1 -1
- package/src/catalogs/OpenAPI-error-catalog.d.ts +8 -0
- package/src/catalogs/OpenAPI-error-catalog.js +16 -0
- package/src/catalogs/OpenAPI-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceEcosystems-error-catalog.d.ts +77 -0
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js +352 -0
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.d.ts +5 -0
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.js +10 -0
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.d.ts +5 -0
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js +10 -0
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.d.ts +2 -0
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.js +4 -0
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.js.map +1 -1
- package/src/catalogs/PRChecks-error-catalog.d.ts +11 -0
- package/src/catalogs/PRChecks-error-catalog.js +61 -0
- package/src/catalogs/PRChecks-error-catalog.js.map +1 -1
- package/src/catalogs/Policies-error-catalog.d.ts +1 -0
- package/src/catalogs/Policies-error-catalog.js +3 -0
- package/src/catalogs/Policies-error-catalog.js.map +1 -1
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.d.ts +20 -0
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js +40 -0
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js.map +1 -1
- package/src/catalogs/SCM-error-catalog.d.ts +6 -0
- package/src/catalogs/SCM-error-catalog.js +16 -0
- package/src/catalogs/SCM-error-catalog.js.map +1 -1
- package/src/catalogs/SbomExport-error-catalog.d.ts +9 -0
- package/src/catalogs/SbomExport-error-catalog.js +18 -0
- package/src/catalogs/SbomExport-error-catalog.js.map +1 -1
- package/src/catalogs/SbomTest-error-catalog.d.ts +10 -0
- package/src/catalogs/SbomTest-error-catalog.js +29 -0
- package/src/catalogs/SbomTest-error-catalog.js.map +1 -1
- package/src/catalogs/Snyk-error-catalog.d.ts +8 -0
- package/src/catalogs/Snyk-error-catalog.js +22 -0
- package/src/catalogs/Snyk-error-catalog.js.map +1 -1
- package/src/catalogs/Target-error-catalog.d.ts +2 -0
- package/src/catalogs/Target-error-catalog.js +4 -0
- package/src/catalogs/Target-error-catalog.js.map +1 -1
- package/src/problem-error.js +1 -1
- package/src/problem-error.js.map +1 -1
- package/src/types.d.ts +2 -1
- package/src/types.js.map +1 -1
|
@@ -25,6 +25,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
25
25
|
* @summary Fix scenario not supported
|
|
26
26
|
* @category Fix
|
|
27
27
|
* @param {string} details the specific details that causes this error
|
|
28
|
+
* @param {string} description the general description for this error
|
|
28
29
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
29
30
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
30
31
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -36,6 +37,7 @@ class FixScenarioNotSupportedError extends problem_error_1.ProblemError {
|
|
|
36
37
|
title: 'Fix scenario not supported',
|
|
37
38
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#pr-failures-0001',
|
|
38
39
|
status: 422,
|
|
40
|
+
description: `Snyk failed to open a fix PR as the scenario is not supported.`,
|
|
39
41
|
errorCode: 'PR-FAILURES-0001',
|
|
40
42
|
level: 'error',
|
|
41
43
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -52,6 +54,7 @@ exports.FixScenarioNotSupportedError = FixScenarioNotSupportedError;
|
|
|
52
54
|
* @summary SCM rate limit
|
|
53
55
|
* @category Fix
|
|
54
56
|
* @param {string} details the specific details that causes this error
|
|
57
|
+
* @param {string} description the general description for this error
|
|
55
58
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
56
59
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
57
60
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -63,6 +66,7 @@ class SCMRateLimitError extends problem_error_1.ProblemError {
|
|
|
63
66
|
title: 'SCM rate limit',
|
|
64
67
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#pr-failures-0002',
|
|
65
68
|
status: 429,
|
|
69
|
+
description: `SCM rate limit exceeded due to too many requests.`,
|
|
66
70
|
errorCode: 'PR-FAILURES-0002',
|
|
67
71
|
level: 'error',
|
|
68
72
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -82,6 +86,7 @@ exports.SCMRateLimitError = SCMRateLimitError;
|
|
|
82
86
|
* @summary Unauthorised access
|
|
83
87
|
* @category Fix
|
|
84
88
|
* @param {string} details the specific details that causes this error
|
|
89
|
+
* @param {string} description the general description for this error
|
|
85
90
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
86
91
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
87
92
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -93,6 +98,7 @@ class UnauthorisedAccessError extends problem_error_1.ProblemError {
|
|
|
93
98
|
title: 'Unauthorised access',
|
|
94
99
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#pr-failures-0003',
|
|
95
100
|
status: 403,
|
|
101
|
+
description: `Request failed due to unathorised access. Please read documentation around adding users and permitted roles.`,
|
|
96
102
|
errorCode: 'PR-FAILURES-0003',
|
|
97
103
|
level: 'error',
|
|
98
104
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -114,6 +120,7 @@ exports.UnauthorisedAccessError = UnauthorisedAccessError;
|
|
|
114
120
|
* @summary Unsupported ecosystem
|
|
115
121
|
* @category Fix
|
|
116
122
|
* @param {string} details the specific details that causes this error
|
|
123
|
+
* @param {string} description the general description for this error
|
|
117
124
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
118
125
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
119
126
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -125,6 +132,7 @@ class UnsupportedEcosystemError extends problem_error_1.ProblemError {
|
|
|
125
132
|
title: 'Unsupported ecosystem',
|
|
126
133
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-packages-0001',
|
|
127
134
|
status: 400,
|
|
135
|
+
description: `The language or package manager is not supported. Please refer to the supported package managers in the documentation.`,
|
|
128
136
|
errorCode: 'SNYK-PACKAGES-0001',
|
|
129
137
|
level: 'error',
|
|
130
138
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -146,6 +154,7 @@ exports.UnsupportedEcosystemError = UnsupportedEcosystemError;
|
|
|
146
154
|
* @summary Metadata not found
|
|
147
155
|
* @category Fix
|
|
148
156
|
* @param {string} details the specific details that causes this error
|
|
157
|
+
* @param {string} description the general description for this error
|
|
149
158
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
150
159
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
151
160
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -157,6 +166,7 @@ class MetadataNotFoundError extends problem_error_1.ProblemError {
|
|
|
157
166
|
title: 'Metadata not found',
|
|
158
167
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-packages-0003',
|
|
159
168
|
status: 404,
|
|
169
|
+
description: `Package metadata not or found or missing.`,
|
|
160
170
|
errorCode: 'SNYK-PACKAGES-0003',
|
|
161
171
|
level: 'error',
|
|
162
172
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -175,6 +185,7 @@ exports.MetadataNotFoundError = MetadataNotFoundError;
|
|
|
175
185
|
* @summary No mature versions found for package
|
|
176
186
|
* @category Fix
|
|
177
187
|
* @param {string} details the specific details that causes this error
|
|
188
|
+
* @param {string} description the general description for this error
|
|
178
189
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
179
190
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
180
191
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -186,6 +197,7 @@ class NoMatureVersionsFoundError extends problem_error_1.ProblemError {
|
|
|
186
197
|
title: 'No mature versions found for package',
|
|
187
198
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-packages-0005',
|
|
188
199
|
status: 404,
|
|
200
|
+
description: `Unable to provide a recommended version as no mature versions were found.`,
|
|
189
201
|
errorCode: 'SNYK-PACKAGES-0005',
|
|
190
202
|
level: 'warn',
|
|
191
203
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -202,6 +214,7 @@ exports.NoMatureVersionsFoundError = NoMatureVersionsFoundError;
|
|
|
202
214
|
* @summary No recommended version found
|
|
203
215
|
* @category Fix
|
|
204
216
|
* @param {string} details the specific details that causes this error
|
|
217
|
+
* @param {string} description the general description for this error
|
|
205
218
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
206
219
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
207
220
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -213,6 +226,7 @@ class VersionNotFoundError extends problem_error_1.ProblemError {
|
|
|
213
226
|
title: 'No recommended version found',
|
|
214
227
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-packages-0006',
|
|
215
228
|
status: 404,
|
|
229
|
+
description: `Unable to provide a recommended version for package using this policy.`,
|
|
216
230
|
errorCode: 'SNYK-PACKAGES-0006',
|
|
217
231
|
level: 'warn',
|
|
218
232
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -229,6 +243,7 @@ exports.VersionNotFoundError = VersionNotFoundError;
|
|
|
229
243
|
* @summary Package is already at latest version
|
|
230
244
|
* @category Fix
|
|
231
245
|
* @param {string} details the specific details that causes this error
|
|
246
|
+
* @param {string} description the general description for this error
|
|
232
247
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
233
248
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
234
249
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -240,6 +255,7 @@ class AlreadyLatestVersionError extends problem_error_1.ProblemError {
|
|
|
240
255
|
title: 'Package is already at latest version',
|
|
241
256
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-packages-0007',
|
|
242
257
|
status: 404,
|
|
258
|
+
description: `No newer version found for this package, as it is already to latest version.`,
|
|
243
259
|
errorCode: 'SNYK-PACKAGES-0007',
|
|
244
260
|
level: 'warn',
|
|
245
261
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -256,6 +272,7 @@ exports.AlreadyLatestVersionError = AlreadyLatestVersionError;
|
|
|
256
272
|
* @summary Version downgrade is not supported
|
|
257
273
|
* @category Fix
|
|
258
274
|
* @param {string} details the specific details that causes this error
|
|
275
|
+
* @param {string} description the general description for this error
|
|
259
276
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
260
277
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
261
278
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -267,6 +284,7 @@ class DowngradeVersionUnsupportedError extends problem_error_1.ProblemError {
|
|
|
267
284
|
title: 'Version downgrade is not supported',
|
|
268
285
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-packages-0008',
|
|
269
286
|
status: 400,
|
|
287
|
+
description: `Unable to suggest a downgrade for a package version.`,
|
|
270
288
|
errorCode: 'SNYK-PACKAGES-0008',
|
|
271
289
|
level: 'error',
|
|
272
290
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -286,6 +304,7 @@ exports.DowngradeVersionUnsupportedError = DowngradeVersionUnsupportedError;
|
|
|
286
304
|
* @summary Invalid version
|
|
287
305
|
* @category Fix
|
|
288
306
|
* @param {string} details the specific details that causes this error
|
|
307
|
+
* @param {string} description the general description for this error
|
|
289
308
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
290
309
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
291
310
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -297,6 +316,7 @@ class VersionParsingError extends problem_error_1.ProblemError {
|
|
|
297
316
|
title: 'Invalid version',
|
|
298
317
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-packages-0009',
|
|
299
318
|
status: 400,
|
|
319
|
+
description: `Not a valid version for semver format.`,
|
|
300
320
|
errorCode: 'SNYK-PACKAGES-0009',
|
|
301
321
|
level: 'error',
|
|
302
322
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -318,6 +338,7 @@ exports.VersionParsingError = VersionParsingError;
|
|
|
318
338
|
* @summary Failed to get pull request attributes
|
|
319
339
|
* @category Fix
|
|
320
340
|
* @param {string} details the specific details that causes this error
|
|
341
|
+
* @param {string} description the general description for this error
|
|
321
342
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
322
343
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
323
344
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -329,6 +350,7 @@ class FailedToGetPullRequestAttributesError extends problem_error_1.ProblemError
|
|
|
329
350
|
title: 'Failed to get pull request attributes',
|
|
330
351
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0001',
|
|
331
352
|
status: 500,
|
|
353
|
+
description: `Snyk could not get the custom pull request template attributes, using the given variables and the fetched pr template.`,
|
|
332
354
|
errorCode: 'SNYK-PR-TEMPLATE-0001',
|
|
333
355
|
level: 'error',
|
|
334
356
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -350,6 +372,7 @@ exports.FailedToGetPullRequestAttributesError = FailedToGetPullRequestAttributes
|
|
|
350
372
|
* @summary Not found
|
|
351
373
|
* @category Fix
|
|
352
374
|
* @param {string} details the specific details that causes this error
|
|
375
|
+
* @param {string} description the general description for this error
|
|
353
376
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
354
377
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
355
378
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -361,6 +384,7 @@ class PullRequestTemplateNotFoundError extends problem_error_1.ProblemError {
|
|
|
361
384
|
title: 'Not found',
|
|
362
385
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0002',
|
|
363
386
|
status: 404,
|
|
387
|
+
description: `We could not find your pull request template, have you created one yet? Please check the attached link for instructions on how to setup your pull request template.`,
|
|
364
388
|
errorCode: 'SNYK-PR-TEMPLATE-0002',
|
|
365
389
|
level: 'error',
|
|
366
390
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -382,6 +406,7 @@ exports.PullRequestTemplateNotFoundError = PullRequestTemplateNotFoundError;
|
|
|
382
406
|
* @summary Failed to compile pull request template
|
|
383
407
|
* @category Fix
|
|
384
408
|
* @param {string} details the specific details that causes this error
|
|
409
|
+
* @param {string} description the general description for this error
|
|
385
410
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
386
411
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
387
412
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -393,6 +418,7 @@ class FailedToCompilePrTemplateError extends problem_error_1.ProblemError {
|
|
|
393
418
|
title: 'Failed to compile pull request template',
|
|
394
419
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0003',
|
|
395
420
|
status: 400,
|
|
421
|
+
description: `Could not compile your customize pull request template. Please check for syntax errors using the Snyk variables inside the template.`,
|
|
396
422
|
errorCode: 'SNYK-PR-TEMPLATE-0003',
|
|
397
423
|
level: 'error',
|
|
398
424
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -414,6 +440,7 @@ exports.FailedToCompilePrTemplateError = FailedToCompilePrTemplateError;
|
|
|
414
440
|
* @summary Failed to parse pull request attributes
|
|
415
441
|
* @category Fix
|
|
416
442
|
* @param {string} details the specific details that causes this error
|
|
443
|
+
* @param {string} description the general description for this error
|
|
417
444
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
418
445
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
419
446
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -425,6 +452,7 @@ class FailedToParsePullRequestAttributesError extends problem_error_1.ProblemErr
|
|
|
425
452
|
title: 'Failed to parse pull request attributes',
|
|
426
453
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0004',
|
|
427
454
|
status: 500,
|
|
455
|
+
description: `Snyk could not parse the custom pull request template, using the given variables and assigning them to the fetched pr template.`,
|
|
428
456
|
errorCode: 'SNYK-PR-TEMPLATE-0004',
|
|
429
457
|
level: 'error',
|
|
430
458
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -446,6 +474,7 @@ exports.FailedToParsePullRequestAttributesError = FailedToParsePullRequestAttrib
|
|
|
446
474
|
* @summary Failed to load YAML file after substituting Snyk variables
|
|
447
475
|
* @category Fix
|
|
448
476
|
* @param {string} details the specific details that causes this error
|
|
477
|
+
* @param {string} description the general description for this error
|
|
449
478
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
450
479
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
451
480
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -457,6 +486,7 @@ class FailedToLoadCompiledYamlError extends problem_error_1.ProblemError {
|
|
|
457
486
|
title: 'Failed to load YAML file after substituting Snyk variables',
|
|
458
487
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0005',
|
|
459
488
|
status: 500,
|
|
489
|
+
description: `Could not load YAML file after substituting Snyk variables into the custom PR template.`,
|
|
460
490
|
errorCode: 'SNYK-PR-TEMPLATE-0005',
|
|
461
491
|
level: 'error',
|
|
462
492
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -478,6 +508,7 @@ exports.FailedToLoadCompiledYamlError = FailedToLoadCompiledYamlError;
|
|
|
478
508
|
* @summary Failed to generate hash for custom PR template
|
|
479
509
|
* @category Fix
|
|
480
510
|
* @param {string} details the specific details that causes this error
|
|
511
|
+
* @param {string} description the general description for this error
|
|
481
512
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
482
513
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
483
514
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -489,6 +520,7 @@ class FailedToGenerateHashError extends problem_error_1.ProblemError {
|
|
|
489
520
|
title: 'Failed to generate hash for custom PR template',
|
|
490
521
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0006',
|
|
491
522
|
status: 500,
|
|
523
|
+
description: `Snyk could not generate hash using the customer PR files and projects vulnIds.`,
|
|
492
524
|
errorCode: 'SNYK-PR-TEMPLATE-0006',
|
|
493
525
|
level: 'error',
|
|
494
526
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -510,6 +542,7 @@ exports.FailedToGenerateHashError = FailedToGenerateHashError;
|
|
|
510
542
|
* @summary Unable to create pull request template
|
|
511
543
|
* @category Fix
|
|
512
544
|
* @param {string} details the specific details that causes this error
|
|
545
|
+
* @param {string} description the general description for this error
|
|
513
546
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
514
547
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
515
548
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -521,6 +554,7 @@ class FailedToCreatePRTemplateError extends problem_error_1.ProblemError {
|
|
|
521
554
|
title: 'Unable to create pull request template',
|
|
522
555
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0007',
|
|
523
556
|
status: 500,
|
|
557
|
+
description: `Snyk could not create pull request template.`,
|
|
524
558
|
errorCode: 'SNYK-PR-TEMPLATE-0007',
|
|
525
559
|
level: 'error',
|
|
526
560
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -542,6 +576,7 @@ exports.FailedToCreatePRTemplateError = FailedToCreatePRTemplateError;
|
|
|
542
576
|
* @summary Unable to get pull request template
|
|
543
577
|
* @category Fix
|
|
544
578
|
* @param {string} details the specific details that causes this error
|
|
579
|
+
* @param {string} description the general description for this error
|
|
545
580
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
546
581
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
547
582
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -553,6 +588,7 @@ class FailedToReadPRTemplateError extends problem_error_1.ProblemError {
|
|
|
553
588
|
title: 'Unable to get pull request template',
|
|
554
589
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0008',
|
|
555
590
|
status: 500,
|
|
591
|
+
description: `Snyk could not get pull request template.`,
|
|
556
592
|
errorCode: 'SNYK-PR-TEMPLATE-0008',
|
|
557
593
|
level: 'error',
|
|
558
594
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -574,6 +610,7 @@ exports.FailedToReadPRTemplateError = FailedToReadPRTemplateError;
|
|
|
574
610
|
* @summary Unable to delete pull request template
|
|
575
611
|
* @category Fix
|
|
576
612
|
* @param {string} details the specific details that causes this error
|
|
613
|
+
* @param {string} description the general description for this error
|
|
577
614
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
578
615
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
579
616
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -585,6 +622,7 @@ class FailedToDeletePRTemplateError extends problem_error_1.ProblemError {
|
|
|
585
622
|
title: 'Unable to delete pull request template',
|
|
586
623
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0009',
|
|
587
624
|
status: 500,
|
|
625
|
+
description: `Snyk could not delete pull request template.`,
|
|
588
626
|
errorCode: 'SNYK-PR-TEMPLATE-0009',
|
|
589
627
|
level: 'error',
|
|
590
628
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -603,6 +641,7 @@ exports.FailedToDeletePRTemplateError = FailedToDeletePRTemplateError;
|
|
|
603
641
|
* @summary Invalid payload
|
|
604
642
|
* @category Fix
|
|
605
643
|
* @param {string} details the specific details that causes this error
|
|
644
|
+
* @param {string} description the general description for this error
|
|
606
645
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
607
646
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
608
647
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -614,6 +653,7 @@ class PRTemplateInvalidPayloadError extends problem_error_1.ProblemError {
|
|
|
614
653
|
title: 'Invalid payload',
|
|
615
654
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0010',
|
|
616
655
|
status: 500,
|
|
656
|
+
description: `The pull request template payload is invalid.`,
|
|
617
657
|
errorCode: 'SNYK-PR-TEMPLATE-0010',
|
|
618
658
|
level: 'error',
|
|
619
659
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -633,6 +673,7 @@ exports.PRTemplateInvalidPayloadError = PRTemplateInvalidPayloadError;
|
|
|
633
673
|
* @summary Failed to load JSON file after substituting Snyk variables
|
|
634
674
|
* @category Fix
|
|
635
675
|
* @param {string} details the specific details that causes this error
|
|
676
|
+
* @param {string} description the general description for this error
|
|
636
677
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
637
678
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
638
679
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -644,6 +685,7 @@ class FailedToLoadCompiledJSONError extends problem_error_1.ProblemError {
|
|
|
644
685
|
title: 'Failed to load JSON file after substituting Snyk variables',
|
|
645
686
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0011',
|
|
646
687
|
status: 500,
|
|
688
|
+
description: `Could not load JSON file after substituting Snyk variables into the custom PR template.`,
|
|
647
689
|
errorCode: 'SNYK-PR-TEMPLATE-0011',
|
|
648
690
|
level: 'error',
|
|
649
691
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -665,6 +707,7 @@ exports.FailedToLoadCompiledJSONError = FailedToLoadCompiledJSONError;
|
|
|
665
707
|
* @summary Failed to render default PR template
|
|
666
708
|
* @category Fix
|
|
667
709
|
* @param {string} details the specific details that causes this error
|
|
710
|
+
* @param {string} description the general description for this error
|
|
668
711
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
669
712
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
670
713
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -676,6 +719,7 @@ class FailedToRenderDefaultTemplateError extends problem_error_1.ProblemError {
|
|
|
676
719
|
title: 'Failed to render default PR template',
|
|
677
720
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-template-0012',
|
|
678
721
|
status: 500,
|
|
722
|
+
description: `Could not render default PR template.`,
|
|
679
723
|
errorCode: 'SNYK-PR-TEMPLATE-0012',
|
|
680
724
|
level: 'error',
|
|
681
725
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -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,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;GAWG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,4BAA4B;YACnC,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,kBAAkB;YAC7B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA5BD,oEA4BC;AAED;;;;;;;;;;;GAWG;AACH,MAAa,iBAAkB,SAAQ,4BAAY;IACjD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,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AAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,mHAAmH;aAClH,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,sEA8BC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,kCAAmC,SAAQ,4BAAY;IAClE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,sCAAsC;YAC7C,IAAI,EAAE,yEAAyE;YAC/E,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,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,gFA8BC"}
|
|
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;;;;;;;;;;;;GAYG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,4BAA4B;YACnC,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,gEAAgE;YAC7E,SAAS,EAAE,kBAAkB;YAC7B,KAAK,EAAE,OA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;;;;;GAeG;AACH,MAAa,kCAAmC,SAAQ,4BAAY;IAClE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,sCAAsC;YAC7C,IAAI,EAAE,yEAAyE;YAC/E,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,uCAAuC;YACpD,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,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,gFA+BC"}
|
|
@@ -24,6 +24,7 @@ import { ProblemError } from '../problem-error';
|
|
|
24
24
|
* @summary SCM integration not found
|
|
25
25
|
* @category Integration
|
|
26
26
|
* @param {string} details the specific details that causes this error
|
|
27
|
+
* @param {string} description the general description for this error
|
|
27
28
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
28
29
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
29
30
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -28,6 +28,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
28
28
|
* @summary SCM integration not found
|
|
29
29
|
* @category Integration
|
|
30
30
|
* @param {string} details the specific details that causes this error
|
|
31
|
+
* @param {string} description the general description for this error
|
|
31
32
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
32
33
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
33
34
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -39,6 +40,7 @@ class IntegrationNotFoundError extends problem_error_1.ProblemError {
|
|
|
39
40
|
title: 'SCM integration not found',
|
|
40
41
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-integration-0001',
|
|
41
42
|
status: 404,
|
|
43
|
+
description: `Ensure your SCM integration exists and that it is correctly set up.`,
|
|
42
44
|
errorCode: 'SNYK-INTEGRATION-0001',
|
|
43
45
|
level: 'error',
|
|
44
46
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Integration-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Integration-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"Integration-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Integration-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,wBAAyB,SAAQ,4BAAY;IACxD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,yEAAyE;YAC/E,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,qEAAqE;YAClF,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,wFAAwF;aACvF,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,4DA+BC"}
|
|
@@ -24,6 +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} description the general description for this error
|
|
27
28
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
28
29
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
29
30
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -39,6 +40,7 @@ export declare class InvalidRequestError extends ProblemError {
|
|
|
39
40
|
* @summary Build environment not found
|
|
40
41
|
* @category IsolatedBuilds
|
|
41
42
|
* @param {string} details the specific details that causes this error
|
|
43
|
+
* @param {string} description the general description for this error
|
|
42
44
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
43
45
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
44
46
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -57,6 +59,7 @@ export declare class BuildEnvironmentNotFoundError extends ProblemError {
|
|
|
57
59
|
* @summary Unsupported Ecosystem
|
|
58
60
|
* @category IsolatedBuilds
|
|
59
61
|
* @param {string} details the specific details that causes this error
|
|
62
|
+
* @param {string} description the general description for this error
|
|
60
63
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
61
64
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
62
65
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -80,6 +83,7 @@ export declare class UnsupportedEcosystemError extends ProblemError {
|
|
|
80
83
|
* @summary OAuth re-authorization required
|
|
81
84
|
* @category IsolatedBuilds
|
|
82
85
|
* @param {string} details the specific details that causes this error
|
|
86
|
+
* @param {string} description the general description for this error
|
|
83
87
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
84
88
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
85
89
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -28,6 +28,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
28
28
|
* @summary Invalid request
|
|
29
29
|
* @category IsolatedBuilds
|
|
30
30
|
* @param {string} details the specific details that causes this error
|
|
31
|
+
* @param {string} description the general description for this error
|
|
31
32
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
32
33
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
33
34
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -39,6 +40,7 @@ class InvalidRequestError extends problem_error_1.ProblemError {
|
|
|
39
40
|
title: 'Invalid request',
|
|
40
41
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-8001',
|
|
41
42
|
status: 400,
|
|
43
|
+
description: `The provided request payload is not valid for the selected ecosystem. Please review the API documentation.`,
|
|
42
44
|
errorCode: 'SNYK-OS-8001',
|
|
43
45
|
level: 'error',
|
|
44
46
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -57,6 +59,7 @@ exports.InvalidRequestError = InvalidRequestError;
|
|
|
57
59
|
* @summary Build environment not found
|
|
58
60
|
* @category IsolatedBuilds
|
|
59
61
|
* @param {string} details the specific details that causes this error
|
|
62
|
+
* @param {string} description the general description for this error
|
|
60
63
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
61
64
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
62
65
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -68,6 +71,7 @@ class BuildEnvironmentNotFoundError extends problem_error_1.ProblemError {
|
|
|
68
71
|
title: 'Build environment not found',
|
|
69
72
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-8002',
|
|
70
73
|
status: 404,
|
|
74
|
+
description: `The build environment for the provided context could not be found. Please ensure you have created the build environment first.`,
|
|
71
75
|
errorCode: 'SNYK-OS-8002',
|
|
72
76
|
level: 'warn',
|
|
73
77
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -87,6 +91,7 @@ exports.BuildEnvironmentNotFoundError = BuildEnvironmentNotFoundError;
|
|
|
87
91
|
* @summary Unsupported Ecosystem
|
|
88
92
|
* @category IsolatedBuilds
|
|
89
93
|
* @param {string} details the specific details that causes this error
|
|
94
|
+
* @param {string} description the general description for this error
|
|
90
95
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
91
96
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
92
97
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -98,6 +103,7 @@ class UnsupportedEcosystemError extends problem_error_1.ProblemError {
|
|
|
98
103
|
title: 'Unsupported Ecosystem',
|
|
99
104
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-8003',
|
|
100
105
|
status: 400,
|
|
106
|
+
description: `The language or package manager is not supported. Please refer to the supported package managers in the links.`,
|
|
101
107
|
errorCode: 'SNYK-OS-8003',
|
|
102
108
|
level: 'error',
|
|
103
109
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -124,6 +130,7 @@ exports.UnsupportedEcosystemError = UnsupportedEcosystemError;
|
|
|
124
130
|
* @summary OAuth re-authorization required
|
|
125
131
|
* @category IsolatedBuilds
|
|
126
132
|
* @param {string} details the specific details that causes this error
|
|
133
|
+
* @param {string} description the general description for this error
|
|
127
134
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
128
135
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
129
136
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -135,6 +142,12 @@ class SsoReAuthRequiredError extends problem_error_1.ProblemError {
|
|
|
135
142
|
title: 'OAuth re-authorization required',
|
|
136
143
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-8004',
|
|
137
144
|
status: 422,
|
|
145
|
+
description: `Your code is cloned on an isolated environment using Git as it is required by Snyk to analyze its dependencies.
|
|
146
|
+
|
|
147
|
+
Your Organization has enabled or enforced SAML SSO after you authorized Snyk to access your code, and a re-authentication is therefore required.
|
|
148
|
+
|
|
149
|
+
The error you're seeing is usually reproducible by attempting to do a \`git clone\` of your repository with incorrectly configured credentials.
|
|
150
|
+
Verify your authentication configuration with your Git cloud provider and try again.`,
|
|
138
151
|
errorCode: 'SNYK-OS-8004',
|
|
139
152
|
level: 'error',
|
|
140
153
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -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,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"IsolatedBuilds-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/IsolatedBuilds-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,4GAA4G;YACzH,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,0BAA0B;aACzB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,kDA+BC;AAED;;;;;;;;;;;;GAYG;AACH,MAAa,6BAA8B,SAAQ,4BAAY;IAC7D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,6BAA6B;YACpC,IAAI,EA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ACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,mMAAmM;aAClM,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AApCD,wDAoCC"}
|
|
@@ -24,6 +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} description the general description for this error
|
|
27
28
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
28
29
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
29
30
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -39,6 +40,7 @@ export declare class BadRequestError extends ProblemError {
|
|
|
39
40
|
* @summary Forbidden
|
|
40
41
|
* @category OpenAPI
|
|
41
42
|
* @param {string} details the specific details that causes this error
|
|
43
|
+
* @param {string} description the general description for this error
|
|
42
44
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
43
45
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
44
46
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -54,6 +56,7 @@ export declare class ForbiddenError extends ProblemError {
|
|
|
54
56
|
* @summary Not acceptable
|
|
55
57
|
* @category OpenAPI
|
|
56
58
|
* @param {string} details the specific details that causes this error
|
|
59
|
+
* @param {string} description the general description for this error
|
|
57
60
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
58
61
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
59
62
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -69,6 +72,7 @@ export declare class NotAcceptableError extends ProblemError {
|
|
|
69
72
|
* @summary Not found
|
|
70
73
|
* @category OpenAPI
|
|
71
74
|
* @param {string} details the specific details that causes this error
|
|
75
|
+
* @param {string} description the general description for this error
|
|
72
76
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
73
77
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
74
78
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -84,6 +88,7 @@ export declare class NotFoundError extends ProblemError {
|
|
|
84
88
|
* @summary Method not allowed
|
|
85
89
|
* @category OpenAPI
|
|
86
90
|
* @param {string} details the specific details that causes this error
|
|
91
|
+
* @param {string} description the general description for this error
|
|
87
92
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
88
93
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
89
94
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -99,6 +104,7 @@ export declare class MethodNotAllowedError extends ProblemError {
|
|
|
99
104
|
* @summary Request entity too large
|
|
100
105
|
* @category OpenAPI
|
|
101
106
|
* @param {string} details the specific details that causes this error
|
|
107
|
+
* @param {string} description the general description for this error
|
|
102
108
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
103
109
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
104
110
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -117,6 +123,7 @@ export declare class RequestEntityTooLargeError extends ProblemError {
|
|
|
117
123
|
* @summary Unauthorized
|
|
118
124
|
* @category OpenAPI
|
|
119
125
|
* @param {string} details the specific details that causes this error
|
|
126
|
+
* @param {string} description the general description for this error
|
|
120
127
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
121
128
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
122
129
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -132,6 +139,7 @@ export declare class UnauthorizedError extends ProblemError {
|
|
|
132
139
|
* @summary Unsupported media type
|
|
133
140
|
* @category OpenAPI
|
|
134
141
|
* @param {string} details the specific details that causes this error
|
|
142
|
+
* @param {string} description the general description for this error
|
|
135
143
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
136
144
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
137
145
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|