@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
|
@@ -33,6 +33,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
33
33
|
* @summary Versioning schema does not support tag
|
|
34
34
|
* @category CustomBaseImages
|
|
35
35
|
* @param {string} details the specific details that causes this error
|
|
36
|
+
* @param {string} description the general description for this error
|
|
36
37
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
37
38
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
38
39
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -44,6 +45,12 @@ class VersioningSchemaDoesNotSupportTagError extends problem_error_1.ProblemErro
|
|
|
44
45
|
title: 'Versioning schema does not support tag',
|
|
45
46
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0001',
|
|
46
47
|
status: 400,
|
|
48
|
+
description: `The versioning schema used does not support the given tag. Update the versioning schema to include the tag.
|
|
49
|
+
|
|
50
|
+
Once the tag of the custom base image is correct, the versioning schema must be modified.
|
|
51
|
+
You can use a different versioning schema that supports all tags in the repository or you can update the relevant properties of the versioning schema.
|
|
52
|
+
|
|
53
|
+
For example, if the repository currently uses Semver, and a new tag "1.2.5.7" needs to be added, then you can use a Custom versioning schema.`,
|
|
47
54
|
errorCode: 'SNYK-CBI-0001',
|
|
48
55
|
level: 'warn',
|
|
49
56
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -62,6 +69,7 @@ exports.VersioningSchemaDoesNotSupportTagError = VersioningSchemaDoesNotSupportT
|
|
|
62
69
|
* @summary Missing required parameter
|
|
63
70
|
* @category CustomBaseImages
|
|
64
71
|
* @param {string} details the specific details that causes this error
|
|
72
|
+
* @param {string} description the general description for this error
|
|
65
73
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
66
74
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
67
75
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -73,6 +81,7 @@ class RequiredParameterNotProvidedError extends problem_error_1.ProblemError {
|
|
|
73
81
|
title: 'Missing required parameter',
|
|
74
82
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0002',
|
|
75
83
|
status: 400,
|
|
84
|
+
description: `Provide an ORG ID or GROUP ID.`,
|
|
76
85
|
errorCode: 'SNYK-CBI-0002',
|
|
77
86
|
level: 'warn',
|
|
78
87
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -89,6 +98,7 @@ exports.RequiredParameterNotProvidedError = RequiredParameterNotProvidedError;
|
|
|
89
98
|
* @summary Project does not exist
|
|
90
99
|
* @category CustomBaseImages
|
|
91
100
|
* @param {string} details the specific details that causes this error
|
|
101
|
+
* @param {string} description the general description for this error
|
|
92
102
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
93
103
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
94
104
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -100,6 +110,7 @@ class ProjectDoesNotExistError extends problem_error_1.ProblemError {
|
|
|
100
110
|
title: 'Project does not exist',
|
|
101
111
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0003',
|
|
102
112
|
status: 404,
|
|
113
|
+
description: `The project could not be found. Check that the project exists, that you have access to the project, and also check that the ID you have provided is the project ID and not a CBI ID.`,
|
|
103
114
|
errorCode: 'SNYK-CBI-0003',
|
|
104
115
|
level: 'warn',
|
|
105
116
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -119,6 +130,7 @@ exports.ProjectDoesNotExistError = ProjectDoesNotExistError;
|
|
|
119
130
|
* @summary Project is not a container image
|
|
120
131
|
* @category CustomBaseImages
|
|
121
132
|
* @param {string} details the specific details that causes this error
|
|
133
|
+
* @param {string} description the general description for this error
|
|
122
134
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
123
135
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
124
136
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -130,6 +142,7 @@ class ProjectIsNotContainerImageError extends problem_error_1.ProblemError {
|
|
|
130
142
|
title: 'Project is not a container image',
|
|
131
143
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0004',
|
|
132
144
|
status: 400,
|
|
145
|
+
description: `The project is not a container image.`,
|
|
133
146
|
errorCode: 'SNYK-CBI-0004',
|
|
134
147
|
level: 'warn',
|
|
135
148
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -148,6 +161,7 @@ exports.ProjectIsNotContainerImageError = ProjectIsNotContainerImageError;
|
|
|
148
161
|
* @summary Unable to retrieve group
|
|
149
162
|
* @category CustomBaseImages
|
|
150
163
|
* @param {string} details the specific details that causes this error
|
|
164
|
+
* @param {string} description the general description for this error
|
|
151
165
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
152
166
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
153
167
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -159,6 +173,7 @@ class ProjectDoesNotBelongToGroupError extends problem_error_1.ProblemError {
|
|
|
159
173
|
title: 'Unable to retrieve group',
|
|
160
174
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0005',
|
|
161
175
|
status: 400,
|
|
176
|
+
description: `The project's org does not belong to a group. In order to use a Custom Base Image, recreate the project and add it to a group or add a group to the org. Note that the group feature is not available to free users.`,
|
|
162
177
|
errorCode: 'SNYK-CBI-0005',
|
|
163
178
|
level: 'warn',
|
|
164
179
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -175,6 +190,7 @@ exports.ProjectDoesNotBelongToGroupError = ProjectDoesNotBelongToGroupError;
|
|
|
175
190
|
* @summary The values in the request do not match
|
|
176
191
|
* @category CustomBaseImages
|
|
177
192
|
* @param {string} details the specific details that causes this error
|
|
193
|
+
* @param {string} description the general description for this error
|
|
178
194
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
179
195
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
180
196
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -186,6 +202,7 @@ class RequestIdsDoNotMatchError extends problem_error_1.ProblemError {
|
|
|
186
202
|
title: 'The values in the request do not match',
|
|
187
203
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0006',
|
|
188
204
|
status: 400,
|
|
205
|
+
description: `The request body ID and the request path ID do not match. Ensure that the values are the same and try again.`,
|
|
189
206
|
errorCode: 'SNYK-CBI-0006',
|
|
190
207
|
level: 'warn',
|
|
191
208
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -202,6 +219,7 @@ exports.RequestIdsDoNotMatchError = RequestIdsDoNotMatchError;
|
|
|
202
219
|
* @summary The request body cannot be updated
|
|
203
220
|
* @category CustomBaseImages
|
|
204
221
|
* @param {string} details the specific details that causes this error
|
|
222
|
+
* @param {string} description the general description for this error
|
|
205
223
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
206
224
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
207
225
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -213,6 +231,7 @@ class RequestBodyAttributesMissingError extends problem_error_1.ProblemError {
|
|
|
213
231
|
title: 'The request body cannot be updated',
|
|
214
232
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0007',
|
|
215
233
|
status: 400,
|
|
234
|
+
description: `The request body does not contain any attributes that can be updated. Provide the necessary attributes and try again.`,
|
|
216
235
|
errorCode: 'SNYK-CBI-0007',
|
|
217
236
|
level: 'warn',
|
|
218
237
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -229,6 +248,7 @@ exports.RequestBodyAttributesMissingError = RequestBodyAttributesMissingError;
|
|
|
229
248
|
* @summary Invalid pagination cursor
|
|
230
249
|
* @category CustomBaseImages
|
|
231
250
|
* @param {string} details the specific details that causes this error
|
|
251
|
+
* @param {string} description the general description for this error
|
|
232
252
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
233
253
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
234
254
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -240,6 +260,7 @@ class InvalidPaginationCursorError extends problem_error_1.ProblemError {
|
|
|
240
260
|
title: 'Invalid pagination cursor',
|
|
241
261
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0008',
|
|
242
262
|
status: 400,
|
|
263
|
+
description: `The provided pagination cursor is invalid.`,
|
|
243
264
|
errorCode: 'SNYK-CBI-0008',
|
|
244
265
|
level: 'warn',
|
|
245
266
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -256,6 +277,7 @@ exports.InvalidPaginationCursorError = InvalidPaginationCursorError;
|
|
|
256
277
|
* @summary Unable to sort by version
|
|
257
278
|
* @category CustomBaseImages
|
|
258
279
|
* @param {string} details the specific details that causes this error
|
|
280
|
+
* @param {string} description the general description for this error
|
|
259
281
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
260
282
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
261
283
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -267,6 +289,7 @@ class UnableToSortByVersionError extends problem_error_1.ProblemError {
|
|
|
267
289
|
title: 'Unable to sort by version',
|
|
268
290
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0009',
|
|
269
291
|
status: 400,
|
|
292
|
+
description: `Snyk was unable to filter by version. Provide a repository filter and try again.`,
|
|
270
293
|
errorCode: 'SNYK-CBI-0009',
|
|
271
294
|
level: 'warn',
|
|
272
295
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -283,6 +306,7 @@ exports.UnableToSortByVersionError = UnableToSortByVersionError;
|
|
|
283
306
|
* @summary Unable to update versioning schema
|
|
284
307
|
* @category CustomBaseImages
|
|
285
308
|
* @param {string} details the specific details that causes this error
|
|
309
|
+
* @param {string} description the general description for this error
|
|
286
310
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
287
311
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
288
312
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -294,6 +318,7 @@ class UpdateVersioningSchemaFailError extends problem_error_1.ProblemError {
|
|
|
294
318
|
title: 'Unable to update versioning schema',
|
|
295
319
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0010',
|
|
296
320
|
status: 400,
|
|
321
|
+
description: `The versioning schema could not be applied to all images in the repository. Therefore, no resources have been updated. Update the provided versioning schema so that all tags in the repository fit the new schema.`,
|
|
297
322
|
errorCode: 'SNYK-CBI-0010',
|
|
298
323
|
level: 'warn',
|
|
299
324
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -310,6 +335,7 @@ exports.UpdateVersioningSchemaFailError = UpdateVersioningSchemaFailError;
|
|
|
310
335
|
* @summary Project is already linked to a custom base image
|
|
311
336
|
* @category CustomBaseImages
|
|
312
337
|
* @param {string} details the specific details that causes this error
|
|
338
|
+
* @param {string} description the general description for this error
|
|
313
339
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
314
340
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
315
341
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -321,6 +347,7 @@ class ProjectAlreadyLinkedError extends problem_error_1.ProblemError {
|
|
|
321
347
|
title: 'Project is already linked to a custom base image',
|
|
322
348
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0011',
|
|
323
349
|
status: 400,
|
|
350
|
+
description: `The project ID provided is already linked to another Custom Base Image.`,
|
|
324
351
|
errorCode: 'SNYK-CBI-0011',
|
|
325
352
|
level: 'warn',
|
|
326
353
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -337,6 +364,7 @@ exports.ProjectAlreadyLinkedError = ProjectAlreadyLinkedError;
|
|
|
337
364
|
* @summary No versioning schema for repository
|
|
338
365
|
* @category CustomBaseImages
|
|
339
366
|
* @param {string} details the specific details that causes this error
|
|
367
|
+
* @param {string} description the general description for this error
|
|
340
368
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
341
369
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
342
370
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -348,6 +376,7 @@ class VersioningSchemaMissingError extends problem_error_1.ProblemError {
|
|
|
348
376
|
title: 'No versioning schema for repository',
|
|
349
377
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0012',
|
|
350
378
|
status: 400,
|
|
379
|
+
description: `No versioning schema exists for the repository. This image is the first in its repository. Provide a versioning schema that fits the format of current and future images in this repository.`,
|
|
351
380
|
errorCode: 'SNYK-CBI-0012',
|
|
352
381
|
level: 'warn',
|
|
353
382
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -364,6 +393,7 @@ exports.VersioningSchemaMissingError = VersioningSchemaMissingError;
|
|
|
364
393
|
* @summary Unable to apply versioning schema
|
|
365
394
|
* @category CustomBaseImages
|
|
366
395
|
* @param {string} details the specific details that causes this error
|
|
396
|
+
* @param {string} description the general description for this error
|
|
367
397
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
368
398
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
369
399
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -375,6 +405,7 @@ class VersioningSchemaInapplicableError extends problem_error_1.ProblemError {
|
|
|
375
405
|
title: 'Unable to apply versioning schema',
|
|
376
406
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0013',
|
|
377
407
|
status: 400,
|
|
408
|
+
description: `A versioning schema already exists for repository. Remove the "versioning_schema" property or, if you want to update the versioning schema, use the PATCH endpoint.`,
|
|
378
409
|
errorCode: 'SNYK-CBI-0013',
|
|
379
410
|
level: 'warn',
|
|
380
411
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -391,6 +422,7 @@ exports.VersioningSchemaInapplicableError = VersioningSchemaInapplicableError;
|
|
|
391
422
|
* @summary Unable to find custom base image
|
|
392
423
|
* @category CustomBaseImages
|
|
393
424
|
* @param {string} details the specific details that causes this error
|
|
425
|
+
* @param {string} description the general description for this error
|
|
394
426
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
395
427
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
396
428
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -402,6 +434,7 @@ class ImageNotFoundError extends problem_error_1.ProblemError {
|
|
|
402
434
|
title: 'Unable to find custom base image',
|
|
403
435
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0014',
|
|
404
436
|
status: 404,
|
|
437
|
+
description: `Unable to find the requested custom base image. Try again, and if the error persists, contact Snyk support.`,
|
|
405
438
|
errorCode: 'SNYK-CBI-0014',
|
|
406
439
|
level: 'warn',
|
|
407
440
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -421,6 +454,7 @@ exports.ImageNotFoundError = ImageNotFoundError;
|
|
|
421
454
|
* @summary Custom base image does not exist
|
|
422
455
|
* @category CustomBaseImages
|
|
423
456
|
* @param {string} details the specific details that causes this error
|
|
457
|
+
* @param {string} description the general description for this error
|
|
424
458
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
425
459
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
426
460
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -432,6 +466,7 @@ class ImageDoesNotExistError extends problem_error_1.ProblemError {
|
|
|
432
466
|
title: 'Custom base image does not exist',
|
|
433
467
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0015',
|
|
434
468
|
status: 404,
|
|
469
|
+
description: `The requested custom base image does not exist.`,
|
|
435
470
|
errorCode: 'SNYK-CBI-0015',
|
|
436
471
|
level: 'warn',
|
|
437
472
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -453,6 +488,7 @@ exports.ImageDoesNotExistError = ImageDoesNotExistError;
|
|
|
453
488
|
* @summary Unable to update custom base image
|
|
454
489
|
* @category CustomBaseImages
|
|
455
490
|
* @param {string} details the specific details that causes this error
|
|
491
|
+
* @param {string} description the general description for this error
|
|
456
492
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
457
493
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
458
494
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -464,6 +500,7 @@ class ImageUpdateFailedError extends problem_error_1.ProblemError {
|
|
|
464
500
|
title: 'Unable to update custom base image',
|
|
465
501
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0016',
|
|
466
502
|
status: 500,
|
|
503
|
+
description: `An internal error occurred while trying to update a custom base image. Try again, and if the error persists, contact Snyk support.`,
|
|
467
504
|
errorCode: 'SNYK-CBI-0016',
|
|
468
505
|
level: 'error',
|
|
469
506
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -485,6 +522,7 @@ exports.ImageUpdateFailedError = ImageUpdateFailedError;
|
|
|
485
522
|
* @summary Unable to retrieve project properties
|
|
486
523
|
* @category CustomBaseImages
|
|
487
524
|
* @param {string} details the specific details that causes this error
|
|
525
|
+
* @param {string} description the general description for this error
|
|
488
526
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
489
527
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
490
528
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -496,6 +534,7 @@ class PropertiesRetrievalFailedError extends problem_error_1.ProblemError {
|
|
|
496
534
|
title: 'Unable to retrieve project properties',
|
|
497
535
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0017',
|
|
498
536
|
status: 500,
|
|
537
|
+
description: `An internal error occurred while trying to retrieve project properties. Try again, and if the error persists, contact Snyk support.`,
|
|
499
538
|
errorCode: 'SNYK-CBI-0017',
|
|
500
539
|
level: 'error',
|
|
501
540
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -517,6 +556,7 @@ exports.PropertiesRetrievalFailedError = PropertiesRetrievalFailedError;
|
|
|
517
556
|
* @summary Unable to retrieve image collection
|
|
518
557
|
* @category CustomBaseImages
|
|
519
558
|
* @param {string} details the specific details that causes this error
|
|
559
|
+
* @param {string} description the general description for this error
|
|
520
560
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
521
561
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
522
562
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -528,6 +568,7 @@ class ImageCollectionRetrievalFailedError extends problem_error_1.ProblemError {
|
|
|
528
568
|
title: 'Unable to retrieve image collection',
|
|
529
569
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0018',
|
|
530
570
|
status: 500,
|
|
571
|
+
description: `An internal error occurred while trying to retrieve the image collection. Try again, and if the error persists, contact Snyk support.`,
|
|
531
572
|
errorCode: 'SNYK-CBI-0018',
|
|
532
573
|
level: 'error',
|
|
533
574
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -546,6 +587,7 @@ exports.ImageCollectionRetrievalFailedError = ImageCollectionRetrievalFailedErro
|
|
|
546
587
|
* @summary Unable to create versioning schema
|
|
547
588
|
* @category CustomBaseImages
|
|
548
589
|
* @param {string} details the specific details that causes this error
|
|
590
|
+
* @param {string} description the general description for this error
|
|
549
591
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
550
592
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
551
593
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -557,6 +599,7 @@ class CreateVersioningSchemaFailError extends problem_error_1.ProblemError {
|
|
|
557
599
|
title: 'Unable to create versioning schema',
|
|
558
600
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0019',
|
|
559
601
|
status: 400,
|
|
602
|
+
description: `The provided versioning schema is invalid and image could therefor not be created. Provide a properly formatted versioning schema and try again.`,
|
|
560
603
|
errorCode: 'SNYK-CBI-0019',
|
|
561
604
|
level: 'warn',
|
|
562
605
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomBaseImages-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CustomBaseImages-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"CustomBaseImages-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CustomBaseImages-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,sCAAuC,SAAQ,4BAAY;IACtE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,wCAAwC;YAC/C,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;;;;8IAKyH;YACtI,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,uKAAuK;aACtK,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AApCD,wFAoCC;AAED;;;;;;;;;;;;GAYG;AACH,MAAa,iCAAkC,SAAQ,4BAAY;IACjE,Y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E;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,uIAAuI;YACpJ,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,kFA+BC;AAED;;;;;;;;;;;;GAYG;AACH,MAAa,+BAAgC,SAAQ,4BAAY;IAC/D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,kJAAkJ;YAC/J,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,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,0EA6BC"}
|
|
@@ -21,6 +21,7 @@ import { ProblemError } from '../problem-error';
|
|
|
21
21
|
* @summary Fix scenario not supported
|
|
22
22
|
* @category Fix
|
|
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 FixScenarioNotSupportedError extends ProblemError {
|
|
|
36
37
|
* @summary SCM rate limit
|
|
37
38
|
* @category Fix
|
|
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
|
|
@@ -54,6 +56,7 @@ export declare class SCMRateLimitError extends ProblemError {
|
|
|
54
56
|
* @summary Unauthorised access
|
|
55
57
|
* @category Fix
|
|
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
|
|
@@ -72,6 +75,7 @@ export declare class UnauthorisedAccessError extends ProblemError {
|
|
|
72
75
|
* @summary Unsupported ecosystem
|
|
73
76
|
* @category Fix
|
|
74
77
|
* @param {string} details the specific details that causes this error
|
|
78
|
+
* @param {string} description the general description for this error
|
|
75
79
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
76
80
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
77
81
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -90,6 +94,7 @@ export declare class UnsupportedEcosystemError extends ProblemError {
|
|
|
90
94
|
* @summary Metadata not found
|
|
91
95
|
* @category Fix
|
|
92
96
|
* @param {string} details the specific details that causes this error
|
|
97
|
+
* @param {string} description the general description for this error
|
|
93
98
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
94
99
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
95
100
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -105,6 +110,7 @@ export declare class MetadataNotFoundError extends ProblemError {
|
|
|
105
110
|
* @summary No mature versions found for package
|
|
106
111
|
* @category Fix
|
|
107
112
|
* @param {string} details the specific details that causes this error
|
|
113
|
+
* @param {string} description the general description for this error
|
|
108
114
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
109
115
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
110
116
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -120,6 +126,7 @@ export declare class NoMatureVersionsFoundError extends ProblemError {
|
|
|
120
126
|
* @summary No recommended version found
|
|
121
127
|
* @category Fix
|
|
122
128
|
* @param {string} details the specific details that causes this error
|
|
129
|
+
* @param {string} description the general description for this error
|
|
123
130
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
124
131
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
125
132
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -135,6 +142,7 @@ export declare class VersionNotFoundError extends ProblemError {
|
|
|
135
142
|
* @summary Package is already at latest version
|
|
136
143
|
* @category Fix
|
|
137
144
|
* @param {string} details the specific details that causes this error
|
|
145
|
+
* @param {string} description the general description for this error
|
|
138
146
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
139
147
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
140
148
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -150,6 +158,7 @@ export declare class AlreadyLatestVersionError extends ProblemError {
|
|
|
150
158
|
* @summary Version downgrade is not supported
|
|
151
159
|
* @category Fix
|
|
152
160
|
* @param {string} details the specific details that causes this error
|
|
161
|
+
* @param {string} description the general description for this error
|
|
153
162
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
154
163
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
155
164
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -168,6 +177,7 @@ export declare class DowngradeVersionUnsupportedError extends ProblemError {
|
|
|
168
177
|
* @summary Invalid version
|
|
169
178
|
* @category Fix
|
|
170
179
|
* @param {string} details the specific details that causes this error
|
|
180
|
+
* @param {string} description the general description for this error
|
|
171
181
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
172
182
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
173
183
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -186,6 +196,7 @@ export declare class VersionParsingError extends ProblemError {
|
|
|
186
196
|
* @summary Failed to get pull request attributes
|
|
187
197
|
* @category Fix
|
|
188
198
|
* @param {string} details the specific details that causes this error
|
|
199
|
+
* @param {string} description the general description for this error
|
|
189
200
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
190
201
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
191
202
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -204,6 +215,7 @@ export declare class FailedToGetPullRequestAttributesError extends ProblemError
|
|
|
204
215
|
* @summary Not found
|
|
205
216
|
* @category Fix
|
|
206
217
|
* @param {string} details the specific details that causes this error
|
|
218
|
+
* @param {string} description the general description for this error
|
|
207
219
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
208
220
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
209
221
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -222,6 +234,7 @@ export declare class PullRequestTemplateNotFoundError extends ProblemError {
|
|
|
222
234
|
* @summary Failed to compile pull request template
|
|
223
235
|
* @category Fix
|
|
224
236
|
* @param {string} details the specific details that causes this error
|
|
237
|
+
* @param {string} description the general description for this error
|
|
225
238
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
226
239
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
227
240
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -240,6 +253,7 @@ export declare class FailedToCompilePrTemplateError extends ProblemError {
|
|
|
240
253
|
* @summary Failed to parse pull request attributes
|
|
241
254
|
* @category Fix
|
|
242
255
|
* @param {string} details the specific details that causes this error
|
|
256
|
+
* @param {string} description the general description for this error
|
|
243
257
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
244
258
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
245
259
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -258,6 +272,7 @@ export declare class FailedToParsePullRequestAttributesError extends ProblemErro
|
|
|
258
272
|
* @summary Failed to load YAML file after substituting Snyk variables
|
|
259
273
|
* @category Fix
|
|
260
274
|
* @param {string} details the specific details that causes this error
|
|
275
|
+
* @param {string} description the general description for this error
|
|
261
276
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
262
277
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
263
278
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -276,6 +291,7 @@ export declare class FailedToLoadCompiledYamlError extends ProblemError {
|
|
|
276
291
|
* @summary Failed to generate hash for custom PR template
|
|
277
292
|
* @category Fix
|
|
278
293
|
* @param {string} details the specific details that causes this error
|
|
294
|
+
* @param {string} description the general description for this error
|
|
279
295
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
280
296
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
281
297
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -294,6 +310,7 @@ export declare class FailedToGenerateHashError extends ProblemError {
|
|
|
294
310
|
* @summary Unable to create pull request template
|
|
295
311
|
* @category Fix
|
|
296
312
|
* @param {string} details the specific details that causes this error
|
|
313
|
+
* @param {string} description the general description for this error
|
|
297
314
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
298
315
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
299
316
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -312,6 +329,7 @@ export declare class FailedToCreatePRTemplateError extends ProblemError {
|
|
|
312
329
|
* @summary Unable to get pull request template
|
|
313
330
|
* @category Fix
|
|
314
331
|
* @param {string} details the specific details that causes this error
|
|
332
|
+
* @param {string} description the general description for this error
|
|
315
333
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
316
334
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
317
335
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -330,6 +348,7 @@ export declare class FailedToReadPRTemplateError extends ProblemError {
|
|
|
330
348
|
* @summary Unable to delete pull request template
|
|
331
349
|
* @category Fix
|
|
332
350
|
* @param {string} details the specific details that causes this error
|
|
351
|
+
* @param {string} description the general description for this error
|
|
333
352
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
334
353
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
335
354
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -345,6 +364,7 @@ export declare class FailedToDeletePRTemplateError extends ProblemError {
|
|
|
345
364
|
* @summary Invalid payload
|
|
346
365
|
* @category Fix
|
|
347
366
|
* @param {string} details the specific details that causes this error
|
|
367
|
+
* @param {string} description the general description for this error
|
|
348
368
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
349
369
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
350
370
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -363,6 +383,7 @@ export declare class PRTemplateInvalidPayloadError extends ProblemError {
|
|
|
363
383
|
* @summary Failed to load JSON file after substituting Snyk variables
|
|
364
384
|
* @category Fix
|
|
365
385
|
* @param {string} details the specific details that causes this error
|
|
386
|
+
* @param {string} description the general description for this error
|
|
366
387
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
367
388
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
368
389
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -381,6 +402,7 @@ export declare class FailedToLoadCompiledJSONError extends ProblemError {
|
|
|
381
402
|
* @summary Failed to render default PR template
|
|
382
403
|
* @category Fix
|
|
383
404
|
* @param {string} details the specific details that causes this error
|
|
405
|
+
* @param {string} description the general description for this error
|
|
384
406
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
385
407
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
386
408
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|