@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
package/package.json
CHANGED
|
@@ -24,6 +24,7 @@ import { ProblemError } from '../problem-error';
|
|
|
24
24
|
* @summary Unable to set environment
|
|
25
25
|
* @category CLI
|
|
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
|
|
@@ -44,6 +45,7 @@ export declare class ConfigEnvironmentFailedError extends ProblemError {
|
|
|
44
45
|
* @summary Possible inconsistent configuration
|
|
45
46
|
* @category CLI
|
|
46
47
|
* @param {string} details the specific details that causes this error
|
|
48
|
+
* @param {string} description the general description for this error
|
|
47
49
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
48
50
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
49
51
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -62,6 +64,7 @@ export declare class ConfigEnvironmentConsistencyIssueError extends ProblemError
|
|
|
62
64
|
* @summary Request to Snyk API timeout
|
|
63
65
|
* @category CLI
|
|
64
66
|
* @param {string} details the specific details that causes this error
|
|
67
|
+
* @param {string} description the general description for this error
|
|
65
68
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
66
69
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
67
70
|
* @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 Unable to set environment
|
|
29
29
|
* @category CLI
|
|
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 ConfigEnvironmentFailedError extends problem_error_1.ProblemError {
|
|
|
39
40
|
title: 'Unable to set environment',
|
|
40
41
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0001',
|
|
41
42
|
status: 200,
|
|
43
|
+
description: `The specified environment cannot be used. As a result, the configuration remains unchanged.Provide the correct specifications for the environment and try again.`,
|
|
42
44
|
errorCode: 'SNYK-CLI-0001',
|
|
43
45
|
level: 'error',
|
|
44
46
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -62,6 +64,7 @@ exports.ConfigEnvironmentFailedError = ConfigEnvironmentFailedError;
|
|
|
62
64
|
* @summary Possible inconsistent configuration
|
|
63
65
|
* @category CLI
|
|
64
66
|
* @param {string} details the specific details that causes this error
|
|
67
|
+
* @param {string} description the general description for this error
|
|
65
68
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
66
69
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
67
70
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -73,6 +76,9 @@ class ConfigEnvironmentConsistencyIssueError extends problem_error_1.ProblemErro
|
|
|
73
76
|
title: 'Possible inconsistent configuration',
|
|
74
77
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0002',
|
|
75
78
|
status: 200,
|
|
79
|
+
description: `You can configure the CLI in different ways, for example via Environment Variables or configuration file.
|
|
80
|
+
If one parameter is configured multiple times, it is probably unintentional and might cause unexpected behaviour.
|
|
81
|
+
Review configured environment variables and ensure that everything is intentional. If so, you can skip this check by using --no-check.`,
|
|
76
82
|
errorCode: 'SNYK-CLI-0002',
|
|
77
83
|
level: 'error',
|
|
78
84
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -94,6 +100,7 @@ exports.ConfigEnvironmentConsistencyIssueError = ConfigEnvironmentConsistencyIss
|
|
|
94
100
|
* @summary Request to Snyk API timeout
|
|
95
101
|
* @category CLI
|
|
96
102
|
* @param {string} details the specific details that causes this error
|
|
103
|
+
* @param {string} description the general description for this error
|
|
97
104
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
98
105
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
99
106
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -105,6 +112,7 @@ class ConnectionTimeoutError extends problem_error_1.ProblemError {
|
|
|
105
112
|
title: 'Request to Snyk API timeout',
|
|
106
113
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-7001',
|
|
107
114
|
status: 504,
|
|
115
|
+
description: `A request to the Snyk API has unexpectedly timeout. Check Snyk status, then try again.`,
|
|
108
116
|
errorCode: 'SNYK-OS-7001',
|
|
109
117
|
level: 'error',
|
|
110
118
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CLI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CLI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"CLI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CLI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,kKAAkK;YAC/K,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,2DAA2D;aAC1D,IACE,cAA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|
@@ -28,6 +28,7 @@ import { ProblemError } from '../problem-error';
|
|
|
28
28
|
* @summary Analysis file count limit exceeded
|
|
29
29
|
* @category Code
|
|
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
|
|
@@ -49,6 +50,7 @@ export declare class AnalysisFileCountLimitExceededError extends ProblemError {
|
|
|
49
50
|
* @summary Analysis result size limit exceeded
|
|
50
51
|
* @category Code
|
|
51
52
|
* @param {string} details the specific details that causes this error
|
|
53
|
+
* @param {string} description the general description for this error
|
|
52
54
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
53
55
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
54
56
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -69,6 +71,7 @@ export declare class AnalysisResultSizeLimitExceededError extends ProblemError {
|
|
|
69
71
|
* @summary Analysis target size limit exceeded
|
|
70
72
|
* @category Code
|
|
71
73
|
* @param {string} details the specific details that causes this error
|
|
74
|
+
* @param {string} description the general description for this error
|
|
72
75
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
73
76
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
74
77
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -89,6 +92,7 @@ export declare class AnalysisTargetSizeLimitExceededError extends ProblemError {
|
|
|
89
92
|
* @summary Analysis target includes a file with a name longer than 255 bytes
|
|
90
93
|
* @category Code
|
|
91
94
|
* @param {string} details the specific details that causes this error
|
|
95
|
+
* @param {string} description the general description for this error
|
|
92
96
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
93
97
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
94
98
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -107,6 +111,7 @@ export declare class AnalysisFileNameLengthLimitExceededError extends ProblemErr
|
|
|
107
111
|
* @summary Snyk Code is not enabled
|
|
108
112
|
* @category Code
|
|
109
113
|
* @param {string} details the specific details that causes this error
|
|
114
|
+
* @param {string} description the general description for this error
|
|
110
115
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
111
116
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
112
117
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -125,6 +130,7 @@ export declare class FeatureIsNotEnabledError extends ProblemError {
|
|
|
125
130
|
* @summary Project not supported
|
|
126
131
|
* @category Code
|
|
127
132
|
* @param {string} details the specific details that causes this error
|
|
133
|
+
* @param {string} description the general description for this error
|
|
128
134
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
129
135
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
130
136
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -144,6 +150,7 @@ export declare class UnsupportedProjectError extends ProblemError {
|
|
|
144
150
|
* @summary Rule extension already exists for the Group
|
|
145
151
|
* @category Code
|
|
146
152
|
* @param {string} details the specific details that causes this error
|
|
153
|
+
* @param {string} description the general description for this error
|
|
147
154
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
148
155
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
149
156
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -161,6 +168,7 @@ export declare class RuleExtensionAlreadyExistsForGroupError extends ProblemErro
|
|
|
161
168
|
* @summary Organization relationships must be unique
|
|
162
169
|
* @category Code
|
|
163
170
|
* @param {string} details the specific details that causes this error
|
|
171
|
+
* @param {string} description the general description for this error
|
|
164
172
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
165
173
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
166
174
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -178,6 +186,7 @@ export declare class OrgRelationshipsMustBeUniqueError extends ProblemError {
|
|
|
178
186
|
* @summary Group relationship must match the Group in the requested URL
|
|
179
187
|
* @category Code
|
|
180
188
|
* @param {string} details the specific details that causes this error
|
|
189
|
+
* @param {string} description the general description for this error
|
|
181
190
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
182
191
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
183
192
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -195,6 +204,7 @@ export declare class GroupRelationshipMustBeForAdminGroupError extends ProblemEr
|
|
|
195
204
|
* @summary Organization outside of the administrating Group
|
|
196
205
|
* @category Code
|
|
197
206
|
* @param {string} details the specific details that causes this error
|
|
207
|
+
* @param {string} description the general description for this error
|
|
198
208
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
199
209
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
200
210
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -212,6 +222,7 @@ export declare class OrgOutsideAdminGroupError extends ProblemError {
|
|
|
212
222
|
* @summary Rule extension limit reached
|
|
213
223
|
* @category Code
|
|
214
224
|
* @param {string} details the specific details that causes this error
|
|
225
|
+
* @param {string} description the general description for this error
|
|
215
226
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
216
227
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
217
228
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -32,6 +32,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
32
32
|
* @summary Analysis file count limit exceeded
|
|
33
33
|
* @category Code
|
|
34
34
|
* @param {string} details the specific details that causes this error
|
|
35
|
+
* @param {string} description the general description for this error
|
|
35
36
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
36
37
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
37
38
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -43,6 +44,9 @@ class AnalysisFileCountLimitExceededError extends problem_error_1.ProblemError {
|
|
|
43
44
|
title: 'Analysis file count limit exceeded',
|
|
44
45
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0001',
|
|
45
46
|
status: 422,
|
|
47
|
+
description: `This error occurs when the analysis target has a supported file count that exceeds current system limits.
|
|
48
|
+
|
|
49
|
+
To reduce the file count, use a \`.snyk\` file to ignore specified directories or files. Alternatively, use the Snyk CLI to analyze individual subdirectories separately.`,
|
|
46
50
|
errorCode: 'SNYK-CODE-0001',
|
|
47
51
|
level: 'error',
|
|
48
52
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -69,6 +73,7 @@ exports.AnalysisFileCountLimitExceededError = AnalysisFileCountLimitExceededErro
|
|
|
69
73
|
* @summary Analysis result size limit exceeded
|
|
70
74
|
* @category Code
|
|
71
75
|
* @param {string} details the specific details that causes this error
|
|
76
|
+
* @param {string} description the general description for this error
|
|
72
77
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
73
78
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
74
79
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -80,6 +85,9 @@ class AnalysisResultSizeLimitExceededError extends problem_error_1.ProblemError
|
|
|
80
85
|
title: 'Analysis result size limit exceeded',
|
|
81
86
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0002',
|
|
82
87
|
status: 422,
|
|
88
|
+
description: `This error occurs when the analysis target generates a result with a byte size that exceeds current system limits.
|
|
89
|
+
|
|
90
|
+
To reduce the overall result size, use a \`.snyk\` file to ignore specified directories or files. Alternatively, use the Snyk CLI to analyze individual subdirectories separately.`,
|
|
83
91
|
errorCode: 'SNYK-CODE-0002',
|
|
84
92
|
level: 'error',
|
|
85
93
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -104,6 +112,7 @@ exports.AnalysisResultSizeLimitExceededError = AnalysisResultSizeLimitExceededEr
|
|
|
104
112
|
* @summary Analysis target size limit exceeded
|
|
105
113
|
* @category Code
|
|
106
114
|
* @param {string} details the specific details that causes this error
|
|
115
|
+
* @param {string} description the general description for this error
|
|
107
116
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
108
117
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
109
118
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -115,6 +124,9 @@ class AnalysisTargetSizeLimitExceededError extends problem_error_1.ProblemError
|
|
|
115
124
|
title: 'Analysis target size limit exceeded',
|
|
116
125
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0003',
|
|
117
126
|
status: 422,
|
|
127
|
+
description: `This error occurs when the analysis target byte size exceeds current system limits.
|
|
128
|
+
|
|
129
|
+
To reduce the overall result size, use a \`.snyk\` file to ignore specified directories or files. Alternatively, use the Snyk CLI to analyze individual subdirectories separately.`,
|
|
118
130
|
errorCode: 'SNYK-CODE-0003',
|
|
119
131
|
level: 'error',
|
|
120
132
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -138,6 +150,7 @@ exports.AnalysisTargetSizeLimitExceededError = AnalysisTargetSizeLimitExceededEr
|
|
|
138
150
|
* @summary Analysis target includes a file with a name longer than 255 bytes
|
|
139
151
|
* @category Code
|
|
140
152
|
* @param {string} details the specific details that causes this error
|
|
153
|
+
* @param {string} description the general description for this error
|
|
141
154
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
142
155
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
143
156
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -149,6 +162,9 @@ class AnalysisFileNameLengthLimitExceededError extends problem_error_1.ProblemEr
|
|
|
149
162
|
title: 'Analysis target includes a file with a name longer than 255 bytes',
|
|
150
163
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0004',
|
|
151
164
|
status: 422,
|
|
165
|
+
description: `This error occurs when the analysis target has a file name length that exceeds 255 bytes.
|
|
166
|
+
|
|
167
|
+
To be able to scan the analysis target, rename the file to a name that is 255 bytes or less.`,
|
|
152
168
|
errorCode: 'SNYK-CODE-0004',
|
|
153
169
|
level: 'error',
|
|
154
170
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -170,6 +186,7 @@ exports.AnalysisFileNameLengthLimitExceededError = AnalysisFileNameLengthLimitEx
|
|
|
170
186
|
* @summary Snyk Code is not enabled
|
|
171
187
|
* @category Code
|
|
172
188
|
* @param {string} details the specific details that causes this error
|
|
189
|
+
* @param {string} description the general description for this error
|
|
173
190
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
174
191
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
175
192
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -181,6 +198,7 @@ class FeatureIsNotEnabledError extends problem_error_1.ProblemError {
|
|
|
181
198
|
title: 'Snyk Code is not enabled',
|
|
182
199
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0005',
|
|
183
200
|
status: 403,
|
|
201
|
+
description: `This error occurs when Snyk Code is not enabled for the current Organization. Activate Snyk Code and try again..`,
|
|
184
202
|
errorCode: 'SNYK-CODE-0005',
|
|
185
203
|
level: 'error',
|
|
186
204
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -202,6 +220,7 @@ exports.FeatureIsNotEnabledError = FeatureIsNotEnabledError;
|
|
|
202
220
|
* @summary Project not supported
|
|
203
221
|
* @category Code
|
|
204
222
|
* @param {string} details the specific details that causes this error
|
|
223
|
+
* @param {string} description the general description for this error
|
|
205
224
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
206
225
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
207
226
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -213,6 +232,7 @@ class UnsupportedProjectError extends problem_error_1.ProblemError {
|
|
|
213
232
|
title: 'Project not supported',
|
|
214
233
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0006',
|
|
215
234
|
status: 422,
|
|
235
|
+
description: `Snyk was unable to find supported files.`,
|
|
216
236
|
errorCode: 'SNYK-CODE-0006',
|
|
217
237
|
level: 'error',
|
|
218
238
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -235,6 +255,7 @@ exports.UnsupportedProjectError = UnsupportedProjectError;
|
|
|
235
255
|
* @summary Rule extension already exists for the Group
|
|
236
256
|
* @category Code
|
|
237
257
|
* @param {string} details the specific details that causes this error
|
|
258
|
+
* @param {string} description the general description for this error
|
|
238
259
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
239
260
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
240
261
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -246,6 +267,11 @@ class RuleExtensionAlreadyExistsForGroupError extends problem_error_1.ProblemErr
|
|
|
246
267
|
title: 'Rule extension already exists for the Group',
|
|
247
268
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0007',
|
|
248
269
|
status: 409,
|
|
270
|
+
description: `A Rule extension with the same type and attributes already exists
|
|
271
|
+
for the given Group.
|
|
272
|
+
|
|
273
|
+
Either modify the existing Rule extension or create a new
|
|
274
|
+
Rule extension with a different type or attributes.`,
|
|
249
275
|
errorCode: 'SNYK-CODE-0007',
|
|
250
276
|
level: 'error',
|
|
251
277
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -264,6 +290,7 @@ exports.RuleExtensionAlreadyExistsForGroupError = RuleExtensionAlreadyExistsForG
|
|
|
264
290
|
* @summary Organization relationships must be unique
|
|
265
291
|
* @category Code
|
|
266
292
|
* @param {string} details the specific details that causes this error
|
|
293
|
+
* @param {string} description the general description for this error
|
|
267
294
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
268
295
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
269
296
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -275,6 +302,9 @@ class OrgRelationshipsMustBeUniqueError extends problem_error_1.ProblemError {
|
|
|
275
302
|
title: 'Organization relationships must be unique',
|
|
276
303
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0008',
|
|
277
304
|
status: 400,
|
|
305
|
+
description: `Each Org relationship to a Snyk Code Rule extention must be unique.
|
|
306
|
+
|
|
307
|
+
Make sure each Org in relationships has a different ID.`,
|
|
278
308
|
errorCode: 'SNYK-CODE-0008',
|
|
279
309
|
level: 'error',
|
|
280
310
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -293,6 +323,7 @@ exports.OrgRelationshipsMustBeUniqueError = OrgRelationshipsMustBeUniqueError;
|
|
|
293
323
|
* @summary Group relationship must match the Group in the requested URL
|
|
294
324
|
* @category Code
|
|
295
325
|
* @param {string} details the specific details that causes this error
|
|
326
|
+
* @param {string} description the general description for this error
|
|
296
327
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
297
328
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
298
329
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -304,6 +335,9 @@ class GroupRelationshipMustBeForAdminGroupError extends problem_error_1.ProblemE
|
|
|
304
335
|
title: 'Group relationship must match the Group in the requested URL',
|
|
305
336
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0009',
|
|
306
337
|
status: 400,
|
|
338
|
+
description: `You cannot associate a Snyk Code Rule extension to any other Group.
|
|
339
|
+
|
|
340
|
+
Make sure the Group ID under relationships matches the Group ID in the request path.`,
|
|
307
341
|
errorCode: 'SNYK-CODE-0009',
|
|
308
342
|
level: 'error',
|
|
309
343
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -322,6 +356,7 @@ exports.GroupRelationshipMustBeForAdminGroupError = GroupRelationshipMustBeForAd
|
|
|
322
356
|
* @summary Organization outside of the administrating Group
|
|
323
357
|
* @category Code
|
|
324
358
|
* @param {string} details the specific details that causes this error
|
|
359
|
+
* @param {string} description the general description for this error
|
|
325
360
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
326
361
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
327
362
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -333,6 +368,9 @@ class OrgOutsideAdminGroupError extends problem_error_1.ProblemError {
|
|
|
333
368
|
title: 'Organization outside of the administrating Group',
|
|
334
369
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0010',
|
|
335
370
|
status: 400,
|
|
371
|
+
description: `You cannot associate a Snyk Code Rule extension to an Org outside of the administrating Group.
|
|
372
|
+
|
|
373
|
+
Make sure each Org under relationships is within the Group in the requested URL.`,
|
|
336
374
|
errorCode: 'SNYK-CODE-0010',
|
|
337
375
|
level: 'error',
|
|
338
376
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -351,6 +389,7 @@ exports.OrgOutsideAdminGroupError = OrgOutsideAdminGroupError;
|
|
|
351
389
|
* @summary Rule extension limit reached
|
|
352
390
|
* @category Code
|
|
353
391
|
* @param {string} details the specific details that causes this error
|
|
392
|
+
* @param {string} description the general description for this error
|
|
354
393
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
355
394
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
356
395
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -362,6 +401,9 @@ class RuleExtensionsLimitReachedError extends problem_error_1.ProblemError {
|
|
|
362
401
|
title: 'Rule extension limit reached',
|
|
363
402
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0011',
|
|
364
403
|
status: 400,
|
|
404
|
+
description: `You have hit the maximum number of published Snyk Code Rule extensions allowed for a Group.
|
|
405
|
+
|
|
406
|
+
To create a new Rule extension you will have to remove an existing one.`,
|
|
365
407
|
errorCode: 'SNYK-CODE-0011',
|
|
366
408
|
level: 'error',
|
|
367
409
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Code-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Code-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"Code-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Code-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,mCAAoC,SAAQ,4BAAY;IACnE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;0KAEqJ;YAClK,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,oKAAoK;gBACpK,2KAA2K;gBAC3K,4DAA4D;aAC3D,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAnCD,kFAmCC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,oCAAqC,SAAQ,4BAAY;IACpE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAA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8B;YACrC,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;wEAEmD;YAChE,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,OAAO;YACd,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;AA/BD,0EA+BC"}
|
|
@@ -29,6 +29,7 @@ import { ProblemError } from '../problem-error';
|
|
|
29
29
|
* @summary Versioning schema does not support tag
|
|
30
30
|
* @category CustomBaseImages
|
|
31
31
|
* @param {string} details the specific details that causes this error
|
|
32
|
+
* @param {string} description the general description for this error
|
|
32
33
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
33
34
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
34
35
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -44,6 +45,7 @@ export declare class VersioningSchemaDoesNotSupportTagError extends ProblemError
|
|
|
44
45
|
* @summary Missing required parameter
|
|
45
46
|
* @category CustomBaseImages
|
|
46
47
|
* @param {string} details the specific details that causes this error
|
|
48
|
+
* @param {string} description the general description for this error
|
|
47
49
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
48
50
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
49
51
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -59,6 +61,7 @@ export declare class RequiredParameterNotProvidedError extends ProblemError {
|
|
|
59
61
|
* @summary Project does not exist
|
|
60
62
|
* @category CustomBaseImages
|
|
61
63
|
* @param {string} details the specific details that causes this error
|
|
64
|
+
* @param {string} description the general description for this error
|
|
62
65
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
63
66
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
64
67
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -77,6 +80,7 @@ export declare class ProjectDoesNotExistError extends ProblemError {
|
|
|
77
80
|
* @summary Project is not a container image
|
|
78
81
|
* @category CustomBaseImages
|
|
79
82
|
* @param {string} details the specific details that causes this error
|
|
83
|
+
* @param {string} description the general description for this error
|
|
80
84
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
81
85
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
82
86
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -92,6 +96,7 @@ export declare class ProjectIsNotContainerImageError extends ProblemError {
|
|
|
92
96
|
* @summary Unable to retrieve group
|
|
93
97
|
* @category CustomBaseImages
|
|
94
98
|
* @param {string} details the specific details that causes this error
|
|
99
|
+
* @param {string} description the general description for this error
|
|
95
100
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
96
101
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
97
102
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -107,6 +112,7 @@ export declare class ProjectDoesNotBelongToGroupError extends ProblemError {
|
|
|
107
112
|
* @summary The values in the request do not match
|
|
108
113
|
* @category CustomBaseImages
|
|
109
114
|
* @param {string} details the specific details that causes this error
|
|
115
|
+
* @param {string} description the general description for this error
|
|
110
116
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
111
117
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
112
118
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -122,6 +128,7 @@ export declare class RequestIdsDoNotMatchError extends ProblemError {
|
|
|
122
128
|
* @summary The request body cannot be updated
|
|
123
129
|
* @category CustomBaseImages
|
|
124
130
|
* @param {string} details the specific details that causes this error
|
|
131
|
+
* @param {string} description the general description for this error
|
|
125
132
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
126
133
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
127
134
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -137,6 +144,7 @@ export declare class RequestBodyAttributesMissingError extends ProblemError {
|
|
|
137
144
|
* @summary Invalid pagination cursor
|
|
138
145
|
* @category CustomBaseImages
|
|
139
146
|
* @param {string} details the specific details that causes this error
|
|
147
|
+
* @param {string} description the general description for this error
|
|
140
148
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
141
149
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
142
150
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -152,6 +160,7 @@ export declare class InvalidPaginationCursorError extends ProblemError {
|
|
|
152
160
|
* @summary Unable to sort by version
|
|
153
161
|
* @category CustomBaseImages
|
|
154
162
|
* @param {string} details the specific details that causes this error
|
|
163
|
+
* @param {string} description the general description for this error
|
|
155
164
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
156
165
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
157
166
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -167,6 +176,7 @@ export declare class UnableToSortByVersionError extends ProblemError {
|
|
|
167
176
|
* @summary Unable to update versioning schema
|
|
168
177
|
* @category CustomBaseImages
|
|
169
178
|
* @param {string} details the specific details that causes this error
|
|
179
|
+
* @param {string} description the general description for this error
|
|
170
180
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
171
181
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
172
182
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -182,6 +192,7 @@ export declare class UpdateVersioningSchemaFailError extends ProblemError {
|
|
|
182
192
|
* @summary Project is already linked to a custom base image
|
|
183
193
|
* @category CustomBaseImages
|
|
184
194
|
* @param {string} details the specific details that causes this error
|
|
195
|
+
* @param {string} description the general description for this error
|
|
185
196
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
186
197
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
187
198
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -197,6 +208,7 @@ export declare class ProjectAlreadyLinkedError extends ProblemError {
|
|
|
197
208
|
* @summary No versioning schema for repository
|
|
198
209
|
* @category CustomBaseImages
|
|
199
210
|
* @param {string} details the specific details that causes this error
|
|
211
|
+
* @param {string} description the general description for this error
|
|
200
212
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
201
213
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
202
214
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -212,6 +224,7 @@ export declare class VersioningSchemaMissingError extends ProblemError {
|
|
|
212
224
|
* @summary Unable to apply versioning schema
|
|
213
225
|
* @category CustomBaseImages
|
|
214
226
|
* @param {string} details the specific details that causes this error
|
|
227
|
+
* @param {string} description the general description for this error
|
|
215
228
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
216
229
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
217
230
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -227,6 +240,7 @@ export declare class VersioningSchemaInapplicableError extends ProblemError {
|
|
|
227
240
|
* @summary Unable to find custom base image
|
|
228
241
|
* @category CustomBaseImages
|
|
229
242
|
* @param {string} details the specific details that causes this error
|
|
243
|
+
* @param {string} description the general description for this error
|
|
230
244
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
231
245
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
232
246
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -245,6 +259,7 @@ export declare class ImageNotFoundError extends ProblemError {
|
|
|
245
259
|
* @summary Custom base image does not exist
|
|
246
260
|
* @category CustomBaseImages
|
|
247
261
|
* @param {string} details the specific details that causes this error
|
|
262
|
+
* @param {string} description the general description for this error
|
|
248
263
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
249
264
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
250
265
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -263,6 +278,7 @@ export declare class ImageDoesNotExistError extends ProblemError {
|
|
|
263
278
|
* @summary Unable to update custom base image
|
|
264
279
|
* @category CustomBaseImages
|
|
265
280
|
* @param {string} details the specific details that causes this error
|
|
281
|
+
* @param {string} description the general description for this error
|
|
266
282
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
267
283
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
268
284
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -281,6 +297,7 @@ export declare class ImageUpdateFailedError extends ProblemError {
|
|
|
281
297
|
* @summary Unable to retrieve project properties
|
|
282
298
|
* @category CustomBaseImages
|
|
283
299
|
* @param {string} details the specific details that causes this error
|
|
300
|
+
* @param {string} description the general description for this error
|
|
284
301
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
285
302
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
286
303
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -299,6 +316,7 @@ export declare class PropertiesRetrievalFailedError extends ProblemError {
|
|
|
299
316
|
* @summary Unable to retrieve image collection
|
|
300
317
|
* @category CustomBaseImages
|
|
301
318
|
* @param {string} details the specific details that causes this error
|
|
319
|
+
* @param {string} description the general description for this error
|
|
302
320
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
303
321
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
304
322
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -314,6 +332,7 @@ export declare class ImageCollectionRetrievalFailedError extends ProblemError {
|
|
|
314
332
|
* @summary Unable to create versioning schema
|
|
315
333
|
* @category CustomBaseImages
|
|
316
334
|
* @param {string} details the specific details that causes this error
|
|
335
|
+
* @param {string} description the general description for this error
|
|
317
336
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
318
337
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
319
338
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|