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