@snyk/error-catalog-nodejs-public 5.32.2 → 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 +98 -0
- package/src/catalogs/Code-error-catalog.js +190 -1
- 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 +23 -1
- 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/catalogs/error-codes.d.ts +5 -0
- package/src/catalogs/error-codes.js +5 -0
- package/src/catalogs/error-codes.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 Your Organisation is not authorized to perform this action
|
|
26
26
|
* @category PurlVulnerabilityFetching
|
|
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 OrganizationNotWhitelistedError extends problem_error_1.ProblemError {
|
|
|
36
37
|
title: 'Your Organisation is not authorized to perform this action',
|
|
37
38
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-1040',
|
|
38
39
|
status: 403,
|
|
40
|
+
description: `You likely don’t have access to the features in Beta. To get access, you can request access to features in Beta through your account manager or team.`,
|
|
39
41
|
errorCode: 'SNYK-OSSI-1040',
|
|
40
42
|
level: 'warn',
|
|
41
43
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -52,6 +54,7 @@ exports.OrganizationNotWhitelistedError = OrganizationNotWhitelistedError;
|
|
|
52
54
|
* @summary Authorization request failure
|
|
53
55
|
* @category PurlVulnerabilityFetching
|
|
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 AuthorizationRequestFailureError extends problem_error_1.ProblemError {
|
|
|
63
66
|
title: 'Authorization request failure',
|
|
64
67
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-1050',
|
|
65
68
|
status: 500,
|
|
69
|
+
description: `Unexpected error when authenticating. Try again, and if the error still occurs, contact support.`,
|
|
66
70
|
errorCode: 'SNYK-OSSI-1050',
|
|
67
71
|
level: 'fatal',
|
|
68
72
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -82,6 +86,7 @@ exports.AuthorizationRequestFailureError = AuthorizationRequestFailureError;
|
|
|
82
86
|
* @summary Invalid purl
|
|
83
87
|
* @category PurlVulnerabilityFetching
|
|
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 InvalidPurlError extends problem_error_1.ProblemError {
|
|
|
93
98
|
title: 'Invalid purl',
|
|
94
99
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2010',
|
|
95
100
|
status: 400,
|
|
101
|
+
description: `Make sure that the purl is valid. See the Package URL specification link for further information.`,
|
|
96
102
|
errorCode: 'SNYK-OSSI-2010',
|
|
97
103
|
level: 'warn',
|
|
98
104
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -114,6 +120,7 @@ exports.InvalidPurlError = InvalidPurlError;
|
|
|
114
120
|
* @summary Namespace not specified
|
|
115
121
|
* @category PurlVulnerabilityFetching
|
|
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 NamespaceNotProvidedError extends problem_error_1.ProblemError {
|
|
|
125
132
|
title: 'Namespace not specified',
|
|
126
133
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2011',
|
|
127
134
|
status: 400,
|
|
135
|
+
description: `You have requested a package type that requires a namespace (e.g. maven group id). Provide the namespace to retrieve the package.`,
|
|
128
136
|
errorCode: 'SNYK-OSSI-2011',
|
|
129
137
|
level: 'warn',
|
|
130
138
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -143,6 +151,7 @@ exports.NamespaceNotProvidedError = NamespaceNotProvidedError;
|
|
|
143
151
|
* @summary Unsupported ecosystem
|
|
144
152
|
* @category PurlVulnerabilityFetching
|
|
145
153
|
* @param {string} details the specific details that causes this error
|
|
154
|
+
* @param {string} description the general description for this error
|
|
146
155
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
147
156
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
148
157
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -154,6 +163,7 @@ class UnsupportedEcosystemError extends problem_error_1.ProblemError {
|
|
|
154
163
|
title: 'Unsupported ecosystem',
|
|
155
164
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2020',
|
|
156
165
|
status: 400,
|
|
166
|
+
description: `The package type is not supported. Check the List issues for a package in Snyk API.`,
|
|
157
167
|
errorCode: 'SNYK-OSSI-2020',
|
|
158
168
|
level: 'warn',
|
|
159
169
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -170,6 +180,7 @@ exports.UnsupportedEcosystemError = UnsupportedEcosystemError;
|
|
|
170
180
|
* @summary Purl components required
|
|
171
181
|
* @category PurlVulnerabilityFetching
|
|
172
182
|
* @param {string} details the specific details that causes this error
|
|
183
|
+
* @param {string} description the general description for this error
|
|
173
184
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
174
185
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
175
186
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -181,6 +192,7 @@ class MissingComponentError extends problem_error_1.ProblemError {
|
|
|
181
192
|
title: 'Purl components required',
|
|
182
193
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2021',
|
|
183
194
|
status: 400,
|
|
195
|
+
description: `A list of components of the purl spec is required. The purl did not specify all the required components. Please add the missing components to the purl and try again.`,
|
|
184
196
|
errorCode: 'SNYK-OSSI-2021',
|
|
185
197
|
level: 'warn',
|
|
186
198
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -197,6 +209,7 @@ exports.MissingComponentError = MissingComponentError;
|
|
|
197
209
|
* @summary Unsupported purl components
|
|
198
210
|
* @category PurlVulnerabilityFetching
|
|
199
211
|
* @param {string} details the specific details that causes this error
|
|
212
|
+
* @param {string} description the general description for this error
|
|
200
213
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
201
214
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
202
215
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -208,6 +221,7 @@ class ComponentNotSupportedError extends problem_error_1.ProblemError {
|
|
|
208
221
|
title: 'Unsupported purl components',
|
|
209
222
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2022',
|
|
210
223
|
status: 400,
|
|
224
|
+
description: `Remove the unsupported component and retry the request.`,
|
|
211
225
|
errorCode: 'SNYK-OSSI-2022',
|
|
212
226
|
level: 'warn',
|
|
213
227
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -224,6 +238,7 @@ exports.ComponentNotSupportedError = ComponentNotSupportedError;
|
|
|
224
238
|
* @summary Requested package not found
|
|
225
239
|
* @category PurlVulnerabilityFetching
|
|
226
240
|
* @param {string} details the specific details that causes this error
|
|
241
|
+
* @param {string} description the general description for this error
|
|
227
242
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
228
243
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
229
244
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -235,6 +250,7 @@ class PackageNotFoundError extends problem_error_1.ProblemError {
|
|
|
235
250
|
title: 'Requested package not found',
|
|
236
251
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2030',
|
|
237
252
|
status: 404,
|
|
253
|
+
description: `The package you specified in the purl cannot be found in the vulnerability database. Check the package name, ecosystem, and version, then try again.`,
|
|
238
254
|
errorCode: 'SNYK-OSSI-2030',
|
|
239
255
|
level: 'warn',
|
|
240
256
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -251,6 +267,7 @@ exports.PackageNotFoundError = PackageNotFoundError;
|
|
|
251
267
|
* @summary Vulnerability service not available
|
|
252
268
|
* @category PurlVulnerabilityFetching
|
|
253
269
|
* @param {string} details the specific details that causes this error
|
|
270
|
+
* @param {string} description the general description for this error
|
|
254
271
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
255
272
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
256
273
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -262,6 +279,7 @@ class VulnerabilityServiceUnavailableError extends problem_error_1.ProblemError
|
|
|
262
279
|
title: 'Vulnerability service not available',
|
|
263
280
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2031',
|
|
264
281
|
status: 503,
|
|
282
|
+
description: `This issue is unexpected, and the service will recover shortly. If the error still occurs, contact support.`,
|
|
265
283
|
errorCode: 'SNYK-OSSI-2031',
|
|
266
284
|
level: 'error',
|
|
267
285
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -278,6 +296,7 @@ exports.VulnerabilityServiceUnavailableError = VulnerabilityServiceUnavailableEr
|
|
|
278
296
|
* @summary This issue is unexpected and the service should recover quickly if not please contact support
|
|
279
297
|
* @category PurlVulnerabilityFetching
|
|
280
298
|
* @param {string} details the specific details that causes this error
|
|
299
|
+
* @param {string} description the general description for this error
|
|
281
300
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
282
301
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
283
302
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -289,6 +308,7 @@ class VulnDBInvalidResponseError extends problem_error_1.ProblemError {
|
|
|
289
308
|
title: 'This issue is unexpected and the service should recover quickly if not please contact support',
|
|
290
309
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2032',
|
|
291
310
|
status: 500,
|
|
311
|
+
description: `An unexpected error occurred. Please try again, and if you continue to experience issues please contact support.`,
|
|
292
312
|
errorCode: 'SNYK-OSSI-2032',
|
|
293
313
|
level: 'warn',
|
|
294
314
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -305,6 +325,7 @@ exports.VulnDBInvalidResponseError = VulnDBInvalidResponseError;
|
|
|
305
325
|
* @summary This issue is unexpected and the service should recover quickly if not please contact support
|
|
306
326
|
* @category PurlVulnerabilityFetching
|
|
307
327
|
* @param {string} details the specific details that causes this error
|
|
328
|
+
* @param {string} description the general description for this error
|
|
308
329
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
309
330
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
310
331
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -316,6 +337,7 @@ class VulndbNextError extends problem_error_1.ProblemError {
|
|
|
316
337
|
title: 'This issue is unexpected and the service should recover quickly if not please contact support',
|
|
317
338
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2033',
|
|
318
339
|
status: 500,
|
|
340
|
+
description: `An unexpected error occurred with the vulnerability service. Please try again, and if you continue to experience issues please contact support.`,
|
|
319
341
|
errorCode: 'SNYK-OSSI-2033',
|
|
320
342
|
level: 'error',
|
|
321
343
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -332,6 +354,7 @@ exports.VulndbNextError = VulndbNextError;
|
|
|
332
354
|
* @summary Request not processed due to unexpected error
|
|
333
355
|
* @category PurlVulnerabilityFetching
|
|
334
356
|
* @param {string} details the specific details that causes this error
|
|
357
|
+
* @param {string} description the general description for this error
|
|
335
358
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
336
359
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
337
360
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -343,6 +366,7 @@ class InternalServerError extends problem_error_1.ProblemError {
|
|
|
343
366
|
title: 'Request not processed due to unexpected error',
|
|
344
367
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2040',
|
|
345
368
|
status: 500,
|
|
369
|
+
description: `This issue is unexpected, and the service will recover shortly. If the error still occurs, contact support.`,
|
|
346
370
|
errorCode: 'SNYK-OSSI-2040',
|
|
347
371
|
level: 'error',
|
|
348
372
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -359,6 +383,7 @@ exports.InternalServerError = InternalServerError;
|
|
|
359
383
|
* @summary Invalid pagination parameters
|
|
360
384
|
* @category PurlVulnerabilityFetching
|
|
361
385
|
* @param {string} details the specific details that causes this error
|
|
386
|
+
* @param {string} description the general description for this error
|
|
362
387
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
363
388
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
364
389
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -370,6 +395,7 @@ class InvalidPaginationParametersError extends problem_error_1.ProblemError {
|
|
|
370
395
|
title: 'Invalid pagination parameters',
|
|
371
396
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2041',
|
|
372
397
|
status: 400,
|
|
398
|
+
description: `The pagination limit is > 1 and ≤ 1000, and the offset is ≥0.`,
|
|
373
399
|
errorCode: 'SNYK-OSSI-2041',
|
|
374
400
|
level: 'warn',
|
|
375
401
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -386,6 +412,7 @@ exports.InvalidPaginationParametersError = InvalidPaginationParametersError;
|
|
|
386
412
|
* @summary purls exceed limit
|
|
387
413
|
* @category PurlVulnerabilityFetching
|
|
388
414
|
* @param {string} details the specific details that causes this error
|
|
415
|
+
* @param {string} description the general description for this error
|
|
389
416
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
390
417
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
391
418
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -397,6 +424,7 @@ class TooManyPurlsError extends problem_error_1.ProblemError {
|
|
|
397
424
|
title: 'purls exceed limit',
|
|
398
425
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2042',
|
|
399
426
|
status: 400,
|
|
427
|
+
description: `The number of purls sent in the request exceeds the limit of 1000 set by the service.`,
|
|
400
428
|
errorCode: 'SNYK-OSSI-2042',
|
|
401
429
|
level: 'warn',
|
|
402
430
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -413,6 +441,7 @@ exports.TooManyPurlsError = TooManyPurlsError;
|
|
|
413
441
|
* @summary Number of issues exceeds limit
|
|
414
442
|
* @category PurlVulnerabilityFetching
|
|
415
443
|
* @param {string} details the specific details that causes this error
|
|
444
|
+
* @param {string} description the general description for this error
|
|
416
445
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
417
446
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
418
447
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -424,6 +453,7 @@ class TooManyIssuesError extends problem_error_1.ProblemError {
|
|
|
424
453
|
title: 'Number of issues exceeds limit',
|
|
425
454
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2043',
|
|
426
455
|
status: 400,
|
|
456
|
+
description: `The number of issues found for the provided purls exceeds the limit defined by the API. Reduce the number of purls sent in a single request.`,
|
|
427
457
|
errorCode: 'SNYK-OSSI-2043',
|
|
428
458
|
level: 'warn',
|
|
429
459
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -443,6 +473,7 @@ exports.TooManyIssuesError = TooManyIssuesError;
|
|
|
443
473
|
* @summary Expected distro to be present
|
|
444
474
|
* @category PurlVulnerabilityFetching
|
|
445
475
|
* @param {string} details the specific details that causes this error
|
|
476
|
+
* @param {string} description the general description for this error
|
|
446
477
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
447
478
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
448
479
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -454,6 +485,7 @@ class UndefinedContainerDistroError extends problem_error_1.ProblemError {
|
|
|
454
485
|
title: 'Expected distro to be present',
|
|
455
486
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2044',
|
|
456
487
|
status: 400,
|
|
488
|
+
description: `The given Package URL does not have a required distro qualifier.`,
|
|
457
489
|
errorCode: 'SNYK-OSSI-2044',
|
|
458
490
|
level: 'warn',
|
|
459
491
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -472,6 +504,7 @@ exports.UndefinedContainerDistroError = UndefinedContainerDistroError;
|
|
|
472
504
|
* @summary Unsupported Debian distro
|
|
473
505
|
* @category PurlVulnerabilityFetching
|
|
474
506
|
* @param {string} details the specific details that causes this error
|
|
507
|
+
* @param {string} description the general description for this error
|
|
475
508
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
476
509
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
477
510
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -483,6 +516,7 @@ class UnsupportedDebianDistroError extends problem_error_1.ProblemError {
|
|
|
483
516
|
title: 'Unsupported Debian distro',
|
|
484
517
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2045',
|
|
485
518
|
status: 400,
|
|
519
|
+
description: `This Debian distro is currently not supported.`,
|
|
486
520
|
errorCode: 'SNYK-OSSI-2045',
|
|
487
521
|
level: 'warn',
|
|
488
522
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -499,6 +533,7 @@ exports.UnsupportedDebianDistroError = UnsupportedDebianDistroError;
|
|
|
499
533
|
* @summary Expected namespace to be present
|
|
500
534
|
* @category PurlVulnerabilityFetching
|
|
501
535
|
* @param {string} details the specific details that causes this error
|
|
536
|
+
* @param {string} description the general description for this error
|
|
502
537
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
503
538
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
504
539
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -510,6 +545,7 @@ class UndefinedContainerVendorError extends problem_error_1.ProblemError {
|
|
|
510
545
|
title: 'Expected namespace to be present',
|
|
511
546
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2046',
|
|
512
547
|
status: 400,
|
|
548
|
+
description: `The given Package URL does not have a required namespace.`,
|
|
513
549
|
errorCode: 'SNYK-OSSI-2046',
|
|
514
550
|
level: 'warn',
|
|
515
551
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -526,6 +562,7 @@ exports.UndefinedContainerVendorError = UndefinedContainerVendorError;
|
|
|
526
562
|
* @summary Unsupported vendor
|
|
527
563
|
* @category PurlVulnerabilityFetching
|
|
528
564
|
* @param {string} details the specific details that causes this error
|
|
565
|
+
* @param {string} description the general description for this error
|
|
529
566
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
530
567
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
531
568
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -537,6 +574,7 @@ class UnsupportedContainerVendorError extends problem_error_1.ProblemError {
|
|
|
537
574
|
title: 'Unsupported vendor',
|
|
538
575
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2047',
|
|
539
576
|
status: 400,
|
|
577
|
+
description: `The given Package URL does not contain a supported vendor. Please use one of the listed vendors and try again.`,
|
|
540
578
|
errorCode: 'SNYK-OSSI-2047',
|
|
541
579
|
level: 'warn',
|
|
542
580
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -553,6 +591,7 @@ exports.UnsupportedContainerVendorError = UnsupportedContainerVendorError;
|
|
|
553
591
|
* @summary Unsupported Alpine distro
|
|
554
592
|
* @category PurlVulnerabilityFetching
|
|
555
593
|
* @param {string} details the specific details that causes this error
|
|
594
|
+
* @param {string} description the general description for this error
|
|
556
595
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
557
596
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
558
597
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -564,6 +603,7 @@ class UnsupportedAlpineDistroError extends problem_error_1.ProblemError {
|
|
|
564
603
|
title: 'Unsupported Alpine distro',
|
|
565
604
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2048',
|
|
566
605
|
status: 400,
|
|
606
|
+
description: `This Alpine distro is currently not supported.`,
|
|
567
607
|
errorCode: 'SNYK-OSSI-2048',
|
|
568
608
|
level: 'warn',
|
|
569
609
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PurlVulnerabilityFetching-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/PurlVulnerabilityFetching-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"PurlVulnerabilityFetching-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/PurlVulnerabilityFetching-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAa,+BAAgC,SAAQ,4BAAY;IAC/D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CAC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CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA7BD,0EA6BC;AAED;;;;;;;;;;;;GAYG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,gDAAgD;YAC7D,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,MAAM;YACb,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;AA7BD,oEA6BC"}
|
|
@@ -24,6 +24,7 @@ import { ProblemError } from '../problem-error';
|
|
|
24
24
|
* @summary Integration type not supported
|
|
25
25
|
* @category SCM
|
|
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 UnsupportedIntegrationTypeError extends ProblemError {
|
|
|
39
40
|
* @summary Revision cannot be resolved
|
|
40
41
|
* @category SCM
|
|
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 RevisionNotResolvedError extends ProblemError {
|
|
|
54
56
|
* @summary Integration authentication failed
|
|
55
57
|
* @category SCM
|
|
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 IntegrationAuthenticationFailedError extends ProblemError {
|
|
|
69
72
|
* @summary Integration authorization failed
|
|
70
73
|
* @category SCM
|
|
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
|
|
@@ -86,6 +90,7 @@ export declare class IntegrationAuthorizationFailedError extends ProblemError {
|
|
|
86
90
|
* @summary Too many files
|
|
87
91
|
* @category SCM
|
|
88
92
|
* @param {string} details the specific details that causes this error
|
|
93
|
+
* @param {string} description the general description for this error
|
|
89
94
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
90
95
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
91
96
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -103,6 +108,7 @@ export declare class FilesLimitExceededError extends ProblemError {
|
|
|
103
108
|
* @summary Repository size too large
|
|
104
109
|
* @category SCM
|
|
105
110
|
* @param {string} details the specific details that causes this error
|
|
111
|
+
* @param {string} description the general description for this error
|
|
106
112
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
107
113
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
108
114
|
* @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 Integration type not supported
|
|
29
29
|
* @category SCM
|
|
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 UnsupportedIntegrationTypeError extends problem_error_1.ProblemError {
|
|
|
39
40
|
title: 'Integration type not supported',
|
|
40
41
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0001',
|
|
41
42
|
status: 500,
|
|
43
|
+
description: `The integration you provided does not support SCM repository access.`,
|
|
42
44
|
errorCode: 'SNYK-SCM-0001',
|
|
43
45
|
level: 'error',
|
|
44
46
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -57,6 +59,7 @@ exports.UnsupportedIntegrationTypeError = UnsupportedIntegrationTypeError;
|
|
|
57
59
|
* @summary Revision cannot be resolved
|
|
58
60
|
* @category SCM
|
|
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 RevisionNotResolvedError extends problem_error_1.ProblemError {
|
|
|
68
71
|
title: 'Revision cannot be resolved',
|
|
69
72
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0002',
|
|
70
73
|
status: 422,
|
|
74
|
+
description: `Snyk was unable to resolve the SCM revision you provided. Provide a valid revision, either a full commit ID or an existing commit reference.`,
|
|
71
75
|
errorCode: 'SNYK-SCM-0002',
|
|
72
76
|
level: 'error',
|
|
73
77
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -84,6 +88,7 @@ exports.RevisionNotResolvedError = RevisionNotResolvedError;
|
|
|
84
88
|
* @summary Integration authentication failed
|
|
85
89
|
* @category SCM
|
|
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
|
|
@@ -95,6 +100,7 @@ class IntegrationAuthenticationFailedError extends problem_error_1.ProblemError
|
|
|
95
100
|
title: 'Integration authentication failed',
|
|
96
101
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0003',
|
|
97
102
|
status: 401,
|
|
103
|
+
description: `Snyk was unable to authenticate with your SCM provider. Ensure you are using valid credentials for the Snyk integration.`,
|
|
98
104
|
errorCode: 'SNYK-SCM-0003',
|
|
99
105
|
level: 'error',
|
|
100
106
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -111,6 +117,7 @@ exports.IntegrationAuthenticationFailedError = IntegrationAuthenticationFailedEr
|
|
|
111
117
|
* @summary Integration authorization failed
|
|
112
118
|
* @category SCM
|
|
113
119
|
* @param {string} details the specific details that causes this error
|
|
120
|
+
* @param {string} description the general description for this error
|
|
114
121
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
115
122
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
116
123
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -122,6 +129,7 @@ class IntegrationAuthorizationFailedError extends problem_error_1.ProblemError {
|
|
|
122
129
|
title: 'Integration authorization failed',
|
|
123
130
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0004',
|
|
124
131
|
status: 401,
|
|
132
|
+
description: `Snyk was unable to authorize with your SCM provider. If your Organization has SAML SSO enabled or enforced, re-authorize the OAuth Application \`Snyk\`.`,
|
|
125
133
|
errorCode: 'SNYK-SCM-0004',
|
|
126
134
|
level: 'error',
|
|
127
135
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -140,6 +148,7 @@ exports.IntegrationAuthorizationFailedError = IntegrationAuthorizationFailedErro
|
|
|
140
148
|
* @summary Too many files
|
|
141
149
|
* @category SCM
|
|
142
150
|
* @param {string} details the specific details that causes this error
|
|
151
|
+
* @param {string} description the general description for this error
|
|
143
152
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
144
153
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
145
154
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -151,6 +160,9 @@ class FilesLimitExceededError extends problem_error_1.ProblemError {
|
|
|
151
160
|
title: 'Too many files',
|
|
152
161
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0005',
|
|
153
162
|
status: 500,
|
|
163
|
+
description: `Snyk was unable to retrieve the repository because the overall file count exceeds the limit of 40000.
|
|
164
|
+
|
|
165
|
+
To reduce the file count, use a \`.snyk\` file to ignore certain directories or files. Alternatively, analyze individual work subdirectories separately.`,
|
|
154
166
|
errorCode: 'SNYK-SCM-0005',
|
|
155
167
|
level: 'error',
|
|
156
168
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -169,6 +181,7 @@ exports.FilesLimitExceededError = FilesLimitExceededError;
|
|
|
169
181
|
* @summary Repository size too large
|
|
170
182
|
* @category SCM
|
|
171
183
|
* @param {string} details the specific details that causes this error
|
|
184
|
+
* @param {string} description the general description for this error
|
|
172
185
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
173
186
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
174
187
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -180,6 +193,9 @@ class SizeLimitExceededError extends problem_error_1.ProblemError {
|
|
|
180
193
|
title: 'Repository size too large',
|
|
181
194
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0006',
|
|
182
195
|
status: 500,
|
|
196
|
+
description: `Snyk was unable to retrieve the repository because the size of the repository exceeds 15 GB.
|
|
197
|
+
|
|
198
|
+
To reduce the overall size of the repository, use a a \`.snyk\` file to ignore certain directories or files. Alternatively, analyze individual work subdirectories separately.`,
|
|
183
199
|
errorCode: 'SNYK-SCM-0006',
|
|
184
200
|
level: 'error',
|
|
185
201
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCM-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/SCM-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"SCM-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/SCM-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,+BAAgC,SAAQ,4BAAY;IAC/D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,gCAAgC;YACvC,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,sEAAsE;YACnF,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,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,0EA+BC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AAO,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;AA/BD,wDA+BC"}
|
|
@@ -21,6 +21,7 @@ import { ProblemError } from '../problem-error';
|
|
|
21
21
|
* @summary SBOM generation export server error
|
|
22
22
|
* @category SbomExport
|
|
23
23
|
* @param {string} details the specific details that causes this error
|
|
24
|
+
* @param {string} description the general description for this error
|
|
24
25
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
25
26
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
26
27
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -36,6 +37,7 @@ export declare class InternalServerError extends ProblemError {
|
|
|
36
37
|
* @summary Dependency graph error
|
|
37
38
|
* @category SbomExport
|
|
38
39
|
* @param {string} details the specific details that causes this error
|
|
40
|
+
* @param {string} description the general description for this error
|
|
39
41
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
40
42
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
41
43
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -51,6 +53,7 @@ export declare class UnexpectedDepGraphResponseError extends ProblemError {
|
|
|
51
53
|
* @summary Error parsing dependency graph
|
|
52
54
|
* @category SbomExport
|
|
53
55
|
* @param {string} details the specific details that causes this error
|
|
56
|
+
* @param {string} description the general description for this error
|
|
54
57
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
55
58
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
56
59
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -66,6 +69,7 @@ export declare class UnexpectedParseDepGraphError extends ProblemError {
|
|
|
66
69
|
* @summary SBOM not supported due to project type
|
|
67
70
|
* @category SbomExport
|
|
68
71
|
* @param {string} details the specific details that causes this error
|
|
72
|
+
* @param {string} description the general description for this error
|
|
69
73
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
70
74
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
71
75
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -81,6 +85,7 @@ export declare class IaCOrSASTProjectError extends ProblemError {
|
|
|
81
85
|
* @summary SBOM not supported
|
|
82
86
|
* @category SbomExport
|
|
83
87
|
* @param {string} details the specific details that causes this error
|
|
88
|
+
* @param {string} description the general description for this error
|
|
84
89
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
85
90
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
86
91
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -96,6 +101,7 @@ export declare class UnsupportedProjectError extends ProblemError {
|
|
|
96
101
|
* @summary Dependency graph request cannot be processed
|
|
97
102
|
* @category SbomExport
|
|
98
103
|
* @param {string} details the specific details that causes this error
|
|
104
|
+
* @param {string} description the general description for this error
|
|
99
105
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
100
106
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
101
107
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -114,6 +120,7 @@ export declare class DepGraphResponseError extends ProblemError {
|
|
|
114
120
|
* @summary Authorization failed due to missing API token
|
|
115
121
|
* @category SbomExport
|
|
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
|
|
@@ -129,6 +136,7 @@ export declare class MissingAuthTokenError extends ProblemError {
|
|
|
129
136
|
* @summary Client request cannot be processed
|
|
130
137
|
* @category SbomExport
|
|
131
138
|
* @param {string} details the specific details that causes this error
|
|
139
|
+
* @param {string} description the general description for this error
|
|
132
140
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
133
141
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
134
142
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -144,6 +152,7 @@ export declare class EmptyRequestBodyError extends ProblemError {
|
|
|
144
152
|
* @summary Invalid dependency graph
|
|
145
153
|
* @category SbomExport
|
|
146
154
|
* @param {string} details the specific details that causes this error
|
|
155
|
+
* @param {string} description the general description for this error
|
|
147
156
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
148
157
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
149
158
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|