@snyk/error-catalog-nodejs-public 3.18.6 → 4.0.2
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/Fix-error-catalog.d.ts +65 -0
- package/src/catalogs/Fix-error-catalog.js +116 -1
- package/src/catalogs/Fix-error-catalog.js.map +1 -1
- package/src/catalogs/IsolatedBuilds-error-catalog.d.ts +17 -0
- package/src/catalogs/IsolatedBuilds-error-catalog.js +31 -1
- package/src/catalogs/IsolatedBuilds-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceEcosystems-error-catalog.d.ts +283 -245
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js +571 -532
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js.map +1 -1
- package/src/catalogs/error-codes.d.ts +25 -20
- package/src/catalogs/error-codes.js +32 -27
- package/src/catalogs/error-codes.js.map +1 -1
|
@@ -14,23 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { ProblemError } from '../problem-error';
|
|
17
|
-
/**
|
|
18
|
-
* @class
|
|
19
|
-
* @name UnsupportedEcosystemError
|
|
20
|
-
* @description The language or package manager is not supported.
|
|
21
|
-
*
|
|
22
|
-
* See more:
|
|
23
|
-
* - [https://docs.snyk.io/products/snyk-open-source/language-and-package-manager-support](https://docs.snyk.io/products/snyk-open-source/language-and-package-manager-support)
|
|
24
|
-
* @summary Unsupported Ecosystem
|
|
25
|
-
* @category OpenSourceEcosystems
|
|
26
|
-
* @param {string} details the specific details that causes this error
|
|
27
|
-
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
28
|
-
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
29
|
-
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
30
|
-
*/
|
|
31
|
-
export declare class UnsupportedEcosystemError extends ProblemError {
|
|
32
|
-
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
33
|
-
}
|
|
34
17
|
/**
|
|
35
18
|
* @class
|
|
36
19
|
* @name UnparseableManifestError
|
|
@@ -45,20 +28,6 @@ export declare class UnsupportedEcosystemError extends ProblemError {
|
|
|
45
28
|
export declare class UnparseableManifestError extends ProblemError {
|
|
46
29
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
47
30
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @class
|
|
50
|
-
* @name LockFileOutOfSyncError
|
|
51
|
-
* @description Some of the dependencies that are expected to be in the lock file are missing, usually indicating that the lock file is out of sync with the provided manifest file. Re-sync the lock file, then try again.
|
|
52
|
-
* @summary Lock file out of sync with manifest file
|
|
53
|
-
* @category OpenSourceEcosystems
|
|
54
|
-
* @param {string} details the specific details that causes this error
|
|
55
|
-
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
56
|
-
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
57
|
-
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
58
|
-
*/
|
|
59
|
-
export declare class LockFileOutOfSyncError extends ProblemError {
|
|
60
|
-
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
61
|
-
}
|
|
62
31
|
/**
|
|
63
32
|
* @class
|
|
64
33
|
* @name UnparseableLockFileError
|
|
@@ -92,44 +61,44 @@ export declare class UnknownDependencyVersionError extends ProblemError {
|
|
|
92
61
|
}
|
|
93
62
|
/**
|
|
94
63
|
* @class
|
|
95
|
-
* @name
|
|
96
|
-
* @description The server
|
|
97
|
-
* @summary
|
|
64
|
+
* @name MissingHeaderError
|
|
65
|
+
* @description The server encountered a request that is missing a mandatory request header.
|
|
66
|
+
* @summary Missing required request header
|
|
98
67
|
* @category OpenSourceEcosystems
|
|
99
68
|
* @param {string} details the specific details that causes this error
|
|
100
69
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
101
70
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
102
71
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
103
72
|
*/
|
|
104
|
-
export declare class
|
|
73
|
+
export declare class MissingHeaderError extends ProblemError {
|
|
105
74
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
106
75
|
}
|
|
107
76
|
/**
|
|
108
77
|
* @class
|
|
109
|
-
* @name
|
|
110
|
-
* @description The
|
|
111
|
-
* @summary
|
|
78
|
+
* @name MissingPayloadError
|
|
79
|
+
* @description The server could not process the request.
|
|
80
|
+
* @summary Payload missing required elements
|
|
112
81
|
* @category OpenSourceEcosystems
|
|
113
82
|
* @param {string} details the specific details that causes this error
|
|
114
83
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
115
84
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
116
85
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
117
86
|
*/
|
|
118
|
-
export declare class
|
|
87
|
+
export declare class MissingPayloadError extends ProblemError {
|
|
119
88
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
120
89
|
}
|
|
121
90
|
/**
|
|
122
91
|
* @class
|
|
123
|
-
* @name
|
|
124
|
-
* @description The
|
|
125
|
-
* @summary
|
|
92
|
+
* @name UnprocessableFileError
|
|
93
|
+
* @description The dependency service could not process the files.
|
|
94
|
+
* @summary Files cannot be processed
|
|
126
95
|
* @category OpenSourceEcosystems
|
|
127
96
|
* @param {string} details the specific details that causes this error
|
|
128
97
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
129
98
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
130
99
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
131
100
|
*/
|
|
132
|
-
export declare class
|
|
101
|
+
export declare class UnprocessableFileError extends ProblemError {
|
|
133
102
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
134
103
|
}
|
|
135
104
|
/**
|
|
@@ -148,623 +117,664 @@ export declare class CannotGetFileFromSourceError extends ProblemError {
|
|
|
148
117
|
}
|
|
149
118
|
/**
|
|
150
119
|
* @class
|
|
151
|
-
* @name
|
|
152
|
-
* @description
|
|
153
|
-
* @summary
|
|
120
|
+
* @name MissingEnvironmentVariableError
|
|
121
|
+
* @description The server encountered a critical operation that requires a specific environment variable, but the variable is not set or is not accessible within the current environment.
|
|
122
|
+
* @summary Missing environment variable
|
|
154
123
|
* @category OpenSourceEcosystems
|
|
155
124
|
* @param {string} details the specific details that causes this error
|
|
156
125
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
157
126
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
158
127
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
159
128
|
*/
|
|
160
|
-
export declare class
|
|
129
|
+
export declare class MissingEnvironmentVariableError extends ProblemError {
|
|
161
130
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
162
131
|
}
|
|
163
132
|
/**
|
|
164
133
|
* @class
|
|
165
|
-
* @name
|
|
166
|
-
* @description
|
|
167
|
-
*
|
|
134
|
+
* @name UnsupportedManifestFileError
|
|
135
|
+
* @description The provided manifest file is not supported by Snyk for .NET.
|
|
136
|
+
*
|
|
137
|
+
* See more:
|
|
138
|
+
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net)
|
|
139
|
+
* @summary Unsupported manifest file type for remediation
|
|
168
140
|
* @category OpenSourceEcosystems
|
|
169
141
|
* @param {string} details the specific details that causes this error
|
|
170
142
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
171
143
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
172
144
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
173
145
|
*/
|
|
174
|
-
export declare class
|
|
146
|
+
export declare class UnsupportedManifestFileError extends ProblemError {
|
|
175
147
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
176
148
|
}
|
|
177
149
|
/**
|
|
178
150
|
* @class
|
|
179
|
-
* @name
|
|
180
|
-
* @description
|
|
181
|
-
* @summary
|
|
151
|
+
* @name UnsupportedTargetFrameworkError
|
|
152
|
+
* @description The provided manifest file defines a `<TargetFramework>` or `<TargetFrameworks>` that is not currently supported by Snyk's .NET scanning solution.
|
|
153
|
+
* @summary Target framework not supported
|
|
182
154
|
* @category OpenSourceEcosystems
|
|
183
155
|
* @param {string} details the specific details that causes this error
|
|
184
156
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
185
157
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
186
158
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
187
159
|
*/
|
|
188
|
-
export declare class
|
|
160
|
+
export declare class UnsupportedTargetFrameworkError extends ProblemError {
|
|
189
161
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
190
162
|
}
|
|
191
163
|
/**
|
|
192
164
|
* @class
|
|
193
|
-
* @name
|
|
194
|
-
* @description
|
|
195
|
-
*
|
|
165
|
+
* @name MissingStaticMainFunctionError
|
|
166
|
+
* @description This error occurs when no static Main method with a correct signature is found in the code that produces an executable file.
|
|
167
|
+
* It also occurs if the entry point function, `Main`, is defined with the wrong case, such as lower-case main.
|
|
168
|
+
*
|
|
169
|
+
* In order to fix this issue, ensure that your program has a .cs file that contains a main function, such as
|
|
170
|
+
* ```c#
|
|
171
|
+
* namespace Example
|
|
172
|
+
* {
|
|
173
|
+
* class Program
|
|
174
|
+
* {
|
|
175
|
+
* static void Main(string[] args)
|
|
176
|
+
* {
|
|
177
|
+
* Console.WriteLine("hello world");
|
|
178
|
+
* }
|
|
179
|
+
* }
|
|
180
|
+
* }
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* See more:
|
|
184
|
+
* - [https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs5001](https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs5001)
|
|
185
|
+
* @summary Your C# code is missing a static Main function
|
|
196
186
|
* @category OpenSourceEcosystems
|
|
197
187
|
* @param {string} details the specific details that causes this error
|
|
198
188
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
199
189
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
200
190
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
201
191
|
*/
|
|
202
|
-
export declare class
|
|
192
|
+
export declare class MissingStaticMainFunctionError extends ProblemError {
|
|
203
193
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
204
194
|
}
|
|
205
195
|
/**
|
|
206
196
|
* @class
|
|
207
|
-
* @name
|
|
208
|
-
* @description
|
|
209
|
-
*
|
|
197
|
+
* @name PublishFailedError
|
|
198
|
+
* @description This error occurs when running `dotnet publish --sc --framework <your-target-framework>` fails to generate a
|
|
199
|
+
* self-contained binary. Snyk needs to run this command in order to adequately determine the dependency tree for your project. If this command fails, Snyk cannot continue.
|
|
200
|
+
*
|
|
201
|
+
* Steps to determine why this happened:
|
|
202
|
+
*
|
|
203
|
+
* * Checkout a clean version of your project in a temporary folder
|
|
204
|
+
* * Run `dotnet publish --sc --framework <your-target-framework> ` on your project, and confirm this step fails.
|
|
205
|
+
*
|
|
206
|
+
* If this step is successful locally, it is possible that Snyk is running another version of the .NET SDK. To tell Snyk which version of the .NET SDK to use, consider using the [global.json](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json) solution provided by Microsoft.
|
|
207
|
+
*
|
|
208
|
+
* See more:
|
|
209
|
+
* - [https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/](https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/)
|
|
210
|
+
* - [https://learn.microsoft.com/en-us/dotnet/core/tools/global-json](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json)
|
|
211
|
+
* - [https://github.com/snyk/snyk-nuget-plugin/blob/885486aa656c28d3db465c8d22710770d5cc6773/lib/nuget-parser/cli/dotnet.ts#L67](https://github.com/snyk/snyk-nuget-plugin/blob/885486aa656c28d3db465c8d22710770d5cc6773/lib/nuget-parser/cli/dotnet.ts#L67)
|
|
212
|
+
* @summary The dotnet CLI is unable to generate a self-contained binary
|
|
210
213
|
* @category OpenSourceEcosystems
|
|
211
214
|
* @param {string} details the specific details that causes this error
|
|
212
215
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
213
216
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
214
217
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
215
218
|
*/
|
|
216
|
-
export declare class
|
|
219
|
+
export declare class PublishFailedError extends ProblemError {
|
|
217
220
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
218
221
|
}
|
|
219
222
|
/**
|
|
220
223
|
* @class
|
|
221
|
-
* @name
|
|
222
|
-
* @description
|
|
223
|
-
*
|
|
224
|
+
* @name PrivateModuleError
|
|
225
|
+
* @description Snyk could not access the private modules within your go.mod files.
|
|
226
|
+
*
|
|
227
|
+
* See more:
|
|
228
|
+
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go)
|
|
229
|
+
* @summary Failed to access private module
|
|
224
230
|
* @category OpenSourceEcosystems
|
|
225
231
|
* @param {string} details the specific details that causes this error
|
|
226
232
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
227
233
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
228
234
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
229
235
|
*/
|
|
230
|
-
export declare class
|
|
236
|
+
export declare class PrivateModuleError extends ProblemError {
|
|
231
237
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
232
238
|
}
|
|
233
239
|
/**
|
|
234
240
|
* @class
|
|
235
|
-
* @name
|
|
236
|
-
* @description
|
|
237
|
-
*
|
|
241
|
+
* @name GoModFileMissingError
|
|
242
|
+
* @description A go.mod file was not found in the current directory or any parent directory.
|
|
243
|
+
*
|
|
244
|
+
* See more:
|
|
245
|
+
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go)
|
|
246
|
+
* @summary Go mod file not found
|
|
238
247
|
* @category OpenSourceEcosystems
|
|
239
248
|
* @param {string} details the specific details that causes this error
|
|
240
249
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
241
250
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
242
251
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
243
252
|
*/
|
|
244
|
-
export declare class
|
|
253
|
+
export declare class GoModFileMissingError extends ProblemError {
|
|
245
254
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
246
255
|
}
|
|
247
256
|
/**
|
|
248
257
|
* @class
|
|
249
|
-
* @name
|
|
250
|
-
* @description
|
|
251
|
-
*
|
|
258
|
+
* @name SsoReAuthRequiredError
|
|
259
|
+
* @description Your code is cloned on an isolated environment using Git as it is required by Snyk to analyze its dependencies.
|
|
260
|
+
*
|
|
261
|
+
* Your Organization has enabled or enforced SAML SSO after you authorized Snyk to access your code, and a re-authentication is therefore required.
|
|
262
|
+
*
|
|
263
|
+
* The error you're seeing is usually reproducible by attempting to do a `git clone` of your repository with incorrectly configured credentials.
|
|
264
|
+
* Verify your authentication configuration with your Git cloud provider and try again.
|
|
265
|
+
*
|
|
266
|
+
* See more:
|
|
267
|
+
* - [https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso)
|
|
268
|
+
* @summary OAuth re-authorization required
|
|
252
269
|
* @category OpenSourceEcosystems
|
|
253
270
|
* @param {string} details the specific details that causes this error
|
|
254
271
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
255
272
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
256
273
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
257
274
|
*/
|
|
258
|
-
export declare class
|
|
275
|
+
export declare class SsoReAuthRequiredError extends ProblemError {
|
|
259
276
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
260
277
|
}
|
|
261
278
|
/**
|
|
262
279
|
* @class
|
|
263
|
-
* @name
|
|
264
|
-
* @description
|
|
265
|
-
*
|
|
280
|
+
* @name IncompleteProjectError
|
|
281
|
+
* @description Generating the dependency graph requires Snyk to run go list `go list -deps -json` inside the project. If the operation fails, creating a full dependency graph cannot continue.
|
|
282
|
+
*
|
|
283
|
+
* This error means that you need some cleanup, such as `go mod tidy`) or your project deployment process contains a code generation step such as `protobuf` or similar that is not currently supported by Snyk.
|
|
284
|
+
*
|
|
285
|
+
* To verify if this is the case, clone your project in a clean environment, run go list `go list -deps -json` and verify whether the operation fails.
|
|
286
|
+
*
|
|
287
|
+
* If Snyk cannot process your code successfully, insert the Snyk CLI as part of your deployment pipeline.
|
|
288
|
+
*
|
|
289
|
+
* See more:
|
|
290
|
+
* - [https://docs.snyk.io/snyk-cli](https://docs.snyk.io/snyk-cli)
|
|
291
|
+
* - [https://github.com/snyk/snyk-go-plugin](https://github.com/snyk/snyk-go-plugin)
|
|
292
|
+
* - [https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go](https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go)
|
|
293
|
+
* @summary Your project repository is missing required files
|
|
266
294
|
* @category OpenSourceEcosystems
|
|
267
295
|
* @param {string} details the specific details that causes this error
|
|
268
296
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
269
297
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
270
298
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
271
299
|
*/
|
|
272
|
-
export declare class
|
|
300
|
+
export declare class IncompleteProjectError extends ProblemError {
|
|
273
301
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
274
302
|
}
|
|
275
303
|
/**
|
|
276
304
|
* @class
|
|
277
|
-
* @name
|
|
278
|
-
* @description
|
|
279
|
-
*
|
|
305
|
+
* @name InconsistentVendoringError
|
|
306
|
+
* @description Generating the dependency graph requires Snyk to run `go list -deps -json` inside the project. If the operation fails, creating a full dependency graph cannot continue.
|
|
307
|
+
*
|
|
308
|
+
* This error means that there is inconsistency between your `vendor/modules.txt` file and your `go.mod` file. To remediate, you need to:
|
|
309
|
+
*
|
|
310
|
+
* * `go mod vendor`
|
|
311
|
+
* * `go mod tidy`
|
|
312
|
+
*
|
|
313
|
+
* Next, commit those changes to your repo. Snyk does not manipulate with your code on our end by design, which is why this is not done automatically.
|
|
314
|
+
*
|
|
315
|
+
* To verify if this is the case, clone your project in a clean environment, run go list `go list -deps -json` and verify whether the operation fails.
|
|
316
|
+
* Then try and run the above mentioned commands and see if your SCM system reports changes in files.
|
|
317
|
+
*
|
|
318
|
+
* See more:
|
|
319
|
+
* - [https://go.dev/ref/mod#go-mod-vendor](https://go.dev/ref/mod#go-mod-vendor)
|
|
320
|
+
* @summary Your project repository has inconsistent vendoring information
|
|
280
321
|
* @category OpenSourceEcosystems
|
|
281
322
|
* @param {string} details the specific details that causes this error
|
|
282
323
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
283
324
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
284
325
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
285
326
|
*/
|
|
286
|
-
export declare class
|
|
327
|
+
export declare class InconsistentVendoringError extends ProblemError {
|
|
287
328
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
288
329
|
}
|
|
289
330
|
/**
|
|
290
331
|
* @class
|
|
291
|
-
* @name
|
|
292
|
-
* @description
|
|
293
|
-
*
|
|
332
|
+
* @name UnsupportedExternalFileGenerationSCMError
|
|
333
|
+
* @description Snyk currently does not support external file generation in your project. This limitation is due to Snyk's lack of visibility into the third-party generator tools you may be using and the specific commands required to generate these files.
|
|
334
|
+
*
|
|
335
|
+
* Snyk can only work with the files available in your repository and does not have insight into the generation process for external files.
|
|
336
|
+
* @summary Unsupported external file generation
|
|
294
337
|
* @category OpenSourceEcosystems
|
|
295
338
|
* @param {string} details the specific details that causes this error
|
|
296
339
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
297
340
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
298
341
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
299
342
|
*/
|
|
300
|
-
export declare class
|
|
343
|
+
export declare class UnsupportedExternalFileGenerationSCMError extends ProblemError {
|
|
301
344
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
302
345
|
}
|
|
303
346
|
/**
|
|
304
347
|
* @class
|
|
305
|
-
* @name
|
|
306
|
-
* @description
|
|
307
|
-
* @summary
|
|
348
|
+
* @name MissingRequirementFromPomError
|
|
349
|
+
* @description The required property is missing from the pom object.
|
|
350
|
+
* @summary Missing property
|
|
308
351
|
* @category OpenSourceEcosystems
|
|
309
352
|
* @param {string} details the specific details that causes this error
|
|
310
353
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
311
354
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
312
355
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
313
356
|
*/
|
|
314
|
-
export declare class
|
|
357
|
+
export declare class MissingRequirementFromPomError extends ProblemError {
|
|
315
358
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
316
359
|
}
|
|
317
360
|
/**
|
|
318
361
|
* @class
|
|
319
|
-
* @name
|
|
320
|
-
* @description
|
|
321
|
-
* @summary
|
|
362
|
+
* @name UnableToResolveValueForPropertyError
|
|
363
|
+
* @description The targeted property could not be resolved with a valid value.
|
|
364
|
+
* @summary Unable to resolve value for property
|
|
322
365
|
* @category OpenSourceEcosystems
|
|
323
366
|
* @param {string} details the specific details that causes this error
|
|
324
367
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
325
368
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
326
369
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
327
370
|
*/
|
|
328
|
-
export declare class
|
|
371
|
+
export declare class UnableToResolveValueForPropertyError extends ProblemError {
|
|
329
372
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
330
373
|
}
|
|
331
374
|
/**
|
|
332
375
|
* @class
|
|
333
|
-
* @name
|
|
334
|
-
* @description
|
|
335
|
-
* @summary
|
|
376
|
+
* @name UnableToResolveVersionForPropertyError
|
|
377
|
+
* @description The targeted property could not be resolved with a valid version.
|
|
378
|
+
* @summary Unable to resolve version for property
|
|
336
379
|
* @category OpenSourceEcosystems
|
|
337
380
|
* @param {string} details the specific details that causes this error
|
|
338
381
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
339
382
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
340
383
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
341
384
|
*/
|
|
342
|
-
export declare class
|
|
385
|
+
export declare class UnableToResolveVersionForPropertyError extends ProblemError {
|
|
343
386
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
344
387
|
}
|
|
345
388
|
/**
|
|
346
389
|
* @class
|
|
347
|
-
* @name
|
|
348
|
-
* @description
|
|
349
|
-
* @summary
|
|
390
|
+
* @name CyclicPropertyDetectedInPomFileError
|
|
391
|
+
* @description There is circular dependency among properties in the Maven project's configuration file (POM), preventing proper resolution and causing an error.
|
|
392
|
+
* @summary Cyclic property detected in POM file
|
|
350
393
|
* @category OpenSourceEcosystems
|
|
351
394
|
* @param {string} details the specific details that causes this error
|
|
352
395
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
353
396
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
354
397
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
355
398
|
*/
|
|
356
|
-
export declare class
|
|
399
|
+
export declare class CyclicPropertyDetectedInPomFileError extends ProblemError {
|
|
357
400
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
358
401
|
}
|
|
359
402
|
/**
|
|
360
403
|
* @class
|
|
361
|
-
* @name
|
|
362
|
-
* @description
|
|
363
|
-
* @summary
|
|
404
|
+
* @name UnableToParseXMLError
|
|
405
|
+
* @description There is an error parsing the XML file. This could be referring to either pom.xml or maven-metadata.xml.
|
|
406
|
+
* @summary Error parsing the XML file
|
|
364
407
|
* @category OpenSourceEcosystems
|
|
365
408
|
* @param {string} details the specific details that causes this error
|
|
366
409
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
367
410
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
368
411
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
369
412
|
*/
|
|
370
|
-
export declare class
|
|
413
|
+
export declare class UnableToParseXMLError extends ProblemError {
|
|
371
414
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
372
415
|
}
|
|
373
416
|
/**
|
|
374
417
|
* @class
|
|
375
|
-
* @name
|
|
376
|
-
* @description
|
|
377
|
-
* @summary
|
|
418
|
+
* @name InvalidCoordinatesError
|
|
419
|
+
* @description The coordinates provided for a project were invalid.
|
|
420
|
+
* @summary Invalid coordinates provided
|
|
378
421
|
* @category OpenSourceEcosystems
|
|
379
422
|
* @param {string} details the specific details that causes this error
|
|
380
423
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
381
424
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
382
425
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
383
426
|
*/
|
|
384
|
-
export declare class
|
|
427
|
+
export declare class InvalidCoordinatesError extends ProblemError {
|
|
385
428
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
386
429
|
}
|
|
387
430
|
/**
|
|
388
431
|
* @class
|
|
389
|
-
* @name
|
|
390
|
-
* @description
|
|
391
|
-
* @summary
|
|
432
|
+
* @name SkippedGroupError
|
|
433
|
+
* @description Skipping a specific groupId starting due to remapped coordinates.
|
|
434
|
+
* @summary Skipping group
|
|
392
435
|
* @category OpenSourceEcosystems
|
|
393
436
|
* @param {string} details the specific details that causes this error
|
|
394
437
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
395
438
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
396
439
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
397
440
|
*/
|
|
398
|
-
export declare class
|
|
441
|
+
export declare class SkippedGroupError extends ProblemError {
|
|
399
442
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
400
443
|
}
|
|
401
444
|
/**
|
|
402
445
|
* @class
|
|
403
|
-
* @name
|
|
404
|
-
* @description The
|
|
405
|
-
*
|
|
406
|
-
* See more:
|
|
407
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#git-services-for-.net-projects](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#git-services-for-.net-projects)
|
|
408
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packagereference](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packagereference)
|
|
409
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packages.config](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packages.config)
|
|
410
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#paket-dependencies-managed-by-paket](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#paket-dependencies-managed-by-paket)
|
|
411
|
-
* @summary Unsupported manifest file type for remediation
|
|
446
|
+
* @name PomFileNotFoundError
|
|
447
|
+
* @description The pom file was not found in Maven repository.
|
|
448
|
+
* @summary Pom file not found
|
|
412
449
|
* @category OpenSourceEcosystems
|
|
413
450
|
* @param {string} details the specific details that causes this error
|
|
414
451
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
415
452
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
416
453
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
417
454
|
*/
|
|
418
|
-
export declare class
|
|
455
|
+
export declare class PomFileNotFoundError extends ProblemError {
|
|
419
456
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
420
457
|
}
|
|
421
458
|
/**
|
|
422
459
|
* @class
|
|
423
|
-
* @name
|
|
424
|
-
* @description
|
|
425
|
-
* @summary
|
|
460
|
+
* @name MissingProjectFromPomError
|
|
461
|
+
* @description A project element is missing from POM.
|
|
462
|
+
* @summary Missing project from POM
|
|
426
463
|
* @category OpenSourceEcosystems
|
|
427
464
|
* @param {string} details the specific details that causes this error
|
|
428
465
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
429
466
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
430
467
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
431
468
|
*/
|
|
432
|
-
export declare class
|
|
469
|
+
export declare class MissingProjectFromPomError extends ProblemError {
|
|
433
470
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
434
471
|
}
|
|
435
472
|
/**
|
|
436
473
|
* @class
|
|
437
|
-
* @name
|
|
438
|
-
* @description
|
|
439
|
-
*
|
|
440
|
-
* See more:
|
|
441
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli)
|
|
442
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git)
|
|
443
|
-
* @summary Failed to access private module
|
|
474
|
+
* @name CannotResolveTargetPomFromXmlError
|
|
475
|
+
* @description Cannot resolve the targeted POM from the input XML.
|
|
476
|
+
* @summary Cannot resolve the target POM from the input XML
|
|
444
477
|
* @category OpenSourceEcosystems
|
|
445
478
|
* @param {string} details the specific details that causes this error
|
|
446
479
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
447
480
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
448
481
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
449
482
|
*/
|
|
450
|
-
export declare class
|
|
483
|
+
export declare class CannotResolveTargetPomFromXmlError extends ProblemError {
|
|
451
484
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
452
485
|
}
|
|
453
486
|
/**
|
|
454
487
|
* @class
|
|
455
|
-
* @name
|
|
456
|
-
* @description
|
|
457
|
-
*
|
|
458
|
-
* See more:
|
|
459
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli)
|
|
460
|
-
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git)
|
|
461
|
-
* @summary Go mod file not found
|
|
488
|
+
* @name CannotResolveTargetPomFromRepoError
|
|
489
|
+
* @description Cannot resolve the targeted POM from the repository.
|
|
490
|
+
* @summary Cannot resolve the target POM from the repository
|
|
462
491
|
* @category OpenSourceEcosystems
|
|
463
492
|
* @param {string} details the specific details that causes this error
|
|
464
493
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
465
494
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
466
495
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
467
496
|
*/
|
|
468
|
-
export declare class
|
|
497
|
+
export declare class CannotResolveTargetPomFromRepoError extends ProblemError {
|
|
469
498
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
470
499
|
}
|
|
471
500
|
/**
|
|
472
501
|
* @class
|
|
473
|
-
* @name
|
|
474
|
-
* @description
|
|
475
|
-
*
|
|
476
|
-
* Your Organization has enabled or enforced SAML SSO after you authorized Snyk to access your code, and a re-authentication is therefore required.
|
|
477
|
-
*
|
|
478
|
-
* The error you're seeing is usually reproducible by attempting to do a `git clone` of your repository with incorrectly configured credentials.
|
|
479
|
-
* Verify your authentication configuration with your Git cloud provider and try again.
|
|
480
|
-
*
|
|
481
|
-
* See more:
|
|
482
|
-
* - [https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso)
|
|
483
|
-
* @summary OAuth re-authorization required
|
|
502
|
+
* @name CannotGetBuildFileFromRepoError
|
|
503
|
+
* @description Cannot get the build file repository.
|
|
504
|
+
* @summary Cannot get the build file repository
|
|
484
505
|
* @category OpenSourceEcosystems
|
|
485
506
|
* @param {string} details the specific details that causes this error
|
|
486
507
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
487
508
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
488
509
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
489
510
|
*/
|
|
490
|
-
export declare class
|
|
511
|
+
export declare class CannotGetBuildFileFromRepoError extends ProblemError {
|
|
491
512
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
492
513
|
}
|
|
493
514
|
/**
|
|
494
515
|
* @class
|
|
495
|
-
* @name
|
|
496
|
-
* @description
|
|
497
|
-
*
|
|
498
|
-
* This error usually means that you need some cleanup, such as `go mod tidy`) or your Project deployment process contains a code generation step such as `protobuf` or something similar that is not currently supported by Snyk.
|
|
499
|
-
*
|
|
500
|
-
* To verify if this is the case, clone your Project in a clean environment, run go list `go list -deps -json` and verify whether the operation fails.
|
|
501
|
-
*
|
|
502
|
-
* If Snyk cannot process your code successfully, insert the Snyk CLI as part of your deployment pipeline.
|
|
503
|
-
*
|
|
504
|
-
* See more:
|
|
505
|
-
* - [https://docs.snyk.io/snyk-cli](https://docs.snyk.io/snyk-cli)
|
|
506
|
-
* - [https://github.com/snyk/snyk-go-plugin](https://github.com/snyk/snyk-go-plugin)
|
|
507
|
-
* - [https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go](https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go)
|
|
508
|
-
* @summary Your project repository is missing required files
|
|
516
|
+
* @name CannotCreateGitHostError
|
|
517
|
+
* @description Cannot create source URL.
|
|
518
|
+
* @summary Unable to create hosted git info
|
|
509
519
|
* @category OpenSourceEcosystems
|
|
510
520
|
* @param {string} details the specific details that causes this error
|
|
511
521
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
512
522
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
513
523
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
514
524
|
*/
|
|
515
|
-
export declare class
|
|
525
|
+
export declare class CannotCreateGitHostError extends ProblemError {
|
|
516
526
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
517
527
|
}
|
|
518
528
|
/**
|
|
519
529
|
* @class
|
|
520
|
-
* @name
|
|
521
|
-
* @description
|
|
522
|
-
* @summary
|
|
530
|
+
* @name NoReleasedVersionForVersionsRangeError
|
|
531
|
+
* @description There was no version released for the specified versions range.
|
|
532
|
+
* @summary No released version for versions range
|
|
523
533
|
* @category OpenSourceEcosystems
|
|
524
534
|
* @param {string} details the specific details that causes this error
|
|
525
535
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
526
536
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
527
537
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
528
538
|
*/
|
|
529
|
-
export declare class
|
|
539
|
+
export declare class NoReleasedVersionForVersionsRangeError extends ProblemError {
|
|
530
540
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
531
541
|
}
|
|
532
542
|
/**
|
|
533
543
|
* @class
|
|
534
|
-
* @name
|
|
535
|
-
* @description The
|
|
536
|
-
* @summary
|
|
544
|
+
* @name SourceNotSupportedError
|
|
545
|
+
* @description The source used is not supported by fetcher. The supported sources are: github, bitbucket, gitlab.
|
|
546
|
+
* @summary Source is not supported
|
|
537
547
|
* @category OpenSourceEcosystems
|
|
538
548
|
* @param {string} details the specific details that causes this error
|
|
539
549
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
540
550
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
541
551
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
542
552
|
*/
|
|
543
|
-
export declare class
|
|
553
|
+
export declare class SourceNotSupportedError extends ProblemError {
|
|
544
554
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
545
555
|
}
|
|
546
556
|
/**
|
|
547
557
|
* @class
|
|
548
|
-
* @name
|
|
549
|
-
* @description
|
|
550
|
-
* @summary
|
|
558
|
+
* @name TimeoutWhenProcessingTheDepTreeError
|
|
559
|
+
* @description There was an timeout when processing the dependecy tree.
|
|
560
|
+
* @summary Timeout when processing the dependency tree
|
|
551
561
|
* @category OpenSourceEcosystems
|
|
552
562
|
* @param {string} details the specific details that causes this error
|
|
553
563
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
554
564
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
555
565
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
556
566
|
*/
|
|
557
|
-
export declare class
|
|
567
|
+
export declare class TimeoutWhenProcessingTheDepTreeError extends ProblemError {
|
|
558
568
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
559
569
|
}
|
|
560
570
|
/**
|
|
561
571
|
* @class
|
|
562
|
-
* @name
|
|
563
|
-
* @description
|
|
564
|
-
* @summary
|
|
572
|
+
* @name NoRepoFoundForTheNPMPackageError
|
|
573
|
+
* @description No repository found for the NPM package.
|
|
574
|
+
* @summary No repository found for A NPM package
|
|
565
575
|
* @category OpenSourceEcosystems
|
|
566
576
|
* @param {string} details the specific details that causes this error
|
|
567
577
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
568
578
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
569
579
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
570
580
|
*/
|
|
571
|
-
export declare class
|
|
581
|
+
export declare class NoRepoFoundForTheNPMPackageError extends ProblemError {
|
|
572
582
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
573
583
|
}
|
|
574
584
|
/**
|
|
575
585
|
* @class
|
|
576
|
-
* @name
|
|
577
|
-
* @description
|
|
578
|
-
* @summary
|
|
586
|
+
* @name CouldNotParseNPMRegistryURLError
|
|
587
|
+
* @description Could not parse NPM registry URL.
|
|
588
|
+
* @summary Could not parse NPM registry URL
|
|
579
589
|
* @category OpenSourceEcosystems
|
|
580
590
|
* @param {string} details the specific details that causes this error
|
|
581
591
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
582
592
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
583
593
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
584
594
|
*/
|
|
585
|
-
export declare class
|
|
595
|
+
export declare class CouldNotParseNPMRegistryURLError extends ProblemError {
|
|
586
596
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
587
597
|
}
|
|
588
598
|
/**
|
|
589
599
|
* @class
|
|
590
|
-
* @name
|
|
591
|
-
* @description
|
|
592
|
-
* @summary
|
|
600
|
+
* @name CouldNotFindBrokerURLError
|
|
601
|
+
* @description Could not find a broker resolved URL.
|
|
602
|
+
* @summary Could not find a broker resolved URL
|
|
593
603
|
* @category OpenSourceEcosystems
|
|
594
604
|
* @param {string} details the specific details that causes this error
|
|
595
605
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
596
606
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
597
607
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
598
608
|
*/
|
|
599
|
-
export declare class
|
|
609
|
+
export declare class CouldNotFindBrokerURLError extends ProblemError {
|
|
600
610
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
601
611
|
}
|
|
602
612
|
/**
|
|
603
613
|
* @class
|
|
604
|
-
* @name
|
|
605
|
-
* @description
|
|
606
|
-
* @summary
|
|
614
|
+
* @name UnableToReplaceBrokerURLError
|
|
615
|
+
* @description Unable to replace all broker urls in lock file.
|
|
616
|
+
* @summary Unable to replace broker URL
|
|
607
617
|
* @category OpenSourceEcosystems
|
|
608
618
|
* @param {string} details the specific details that causes this error
|
|
609
619
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
610
620
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
611
621
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
612
622
|
*/
|
|
613
|
-
export declare class
|
|
623
|
+
export declare class UnableToReplaceBrokerURLError extends ProblemError {
|
|
614
624
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
615
625
|
}
|
|
616
626
|
/**
|
|
617
627
|
* @class
|
|
618
|
-
* @name
|
|
619
|
-
* @description The
|
|
620
|
-
* @summary
|
|
628
|
+
* @name BadNPMVersionError
|
|
629
|
+
* @description The NPM version is not supported.
|
|
630
|
+
* @summary Bad NPM version
|
|
621
631
|
* @category OpenSourceEcosystems
|
|
622
632
|
* @param {string} details the specific details that causes this error
|
|
623
633
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
624
634
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
625
635
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
626
636
|
*/
|
|
627
|
-
export declare class
|
|
637
|
+
export declare class BadNPMVersionError extends ProblemError {
|
|
628
638
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
629
639
|
}
|
|
630
640
|
/**
|
|
631
641
|
* @class
|
|
632
|
-
* @name
|
|
633
|
-
* @description
|
|
634
|
-
* @summary
|
|
642
|
+
* @name UnknownBlobEncodingOnGithubError
|
|
643
|
+
* @description Unknown blob encoding on Github.
|
|
644
|
+
* @summary Unknown blob encoding on Github
|
|
635
645
|
* @category OpenSourceEcosystems
|
|
636
646
|
* @param {string} details the specific details that causes this error
|
|
637
647
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
638
648
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
639
649
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
640
650
|
*/
|
|
641
|
-
export declare class
|
|
651
|
+
export declare class UnknownBlobEncodingOnGithubError extends ProblemError {
|
|
642
652
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
643
653
|
}
|
|
644
654
|
/**
|
|
645
655
|
* @class
|
|
646
|
-
* @name
|
|
647
|
-
* @description
|
|
648
|
-
* @summary
|
|
656
|
+
* @name NoResultsFromForkerProcessesError
|
|
657
|
+
* @description No result from forked process.
|
|
658
|
+
* @summary No result from forked process
|
|
649
659
|
* @category OpenSourceEcosystems
|
|
650
660
|
* @param {string} details the specific details that causes this error
|
|
651
661
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
652
662
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
653
663
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
654
664
|
*/
|
|
655
|
-
export declare class
|
|
665
|
+
export declare class NoResultsFromForkerProcessesError extends ProblemError {
|
|
656
666
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
657
667
|
}
|
|
658
668
|
/**
|
|
659
669
|
* @class
|
|
660
|
-
* @name
|
|
661
|
-
* @description
|
|
662
|
-
* @summary
|
|
670
|
+
* @name ChildProcessExecutionError
|
|
671
|
+
* @description The child process encountered an error during execution.
|
|
672
|
+
* @summary Child Process Execution Error
|
|
663
673
|
* @category OpenSourceEcosystems
|
|
664
674
|
* @param {string} details the specific details that causes this error
|
|
665
675
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
666
676
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
667
677
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
668
678
|
*/
|
|
669
|
-
export declare class
|
|
679
|
+
export declare class ChildProcessExecutionError extends ProblemError {
|
|
670
680
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
671
681
|
}
|
|
672
682
|
/**
|
|
673
683
|
* @class
|
|
674
|
-
* @name
|
|
675
|
-
* @description
|
|
676
|
-
* @summary
|
|
684
|
+
* @name NoValidPackageUpgradesError
|
|
685
|
+
* @description The system attempted to find valid upgrades for the packages specified in the lock file, but none were available.
|
|
686
|
+
* @summary No valid package upgrades
|
|
677
687
|
* @category OpenSourceEcosystems
|
|
678
688
|
* @param {string} details the specific details that causes this error
|
|
679
689
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
680
690
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
681
691
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
682
692
|
*/
|
|
683
|
-
export declare class
|
|
693
|
+
export declare class NoValidPackageUpgradesError extends ProblemError {
|
|
684
694
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
685
695
|
}
|
|
686
696
|
/**
|
|
687
697
|
* @class
|
|
688
|
-
* @name
|
|
689
|
-
* @description
|
|
690
|
-
* @summary
|
|
698
|
+
* @name NoDependencyUpdatesError
|
|
699
|
+
* @description There are no available updates for the dependencies.
|
|
700
|
+
* @summary No dependency updates
|
|
691
701
|
* @category OpenSourceEcosystems
|
|
692
702
|
* @param {string} details the specific details that causes this error
|
|
693
703
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
694
704
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
695
705
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
696
706
|
*/
|
|
697
|
-
export declare class
|
|
707
|
+
export declare class NoDependencyUpdatesError extends ProblemError {
|
|
698
708
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
699
709
|
}
|
|
700
710
|
/**
|
|
701
711
|
* @class
|
|
702
|
-
* @name
|
|
703
|
-
* @description
|
|
704
|
-
* @summary
|
|
712
|
+
* @name CouldNotParseJSONFileError
|
|
713
|
+
* @description An error occurred while attempting to parse a JSON file.
|
|
714
|
+
* @summary Could not parse JSON file
|
|
705
715
|
* @category OpenSourceEcosystems
|
|
706
716
|
* @param {string} details the specific details that causes this error
|
|
707
717
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
708
718
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
709
719
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
710
720
|
*/
|
|
711
|
-
export declare class
|
|
721
|
+
export declare class CouldNotParseJSONFileError extends ProblemError {
|
|
712
722
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
713
723
|
}
|
|
714
724
|
/**
|
|
715
725
|
* @class
|
|
716
|
-
* @name
|
|
717
|
-
* @description
|
|
718
|
-
* @summary Could not
|
|
726
|
+
* @name Base64EncodeError
|
|
727
|
+
* @description An error occurred while attempting to perform Base64 encoding.
|
|
728
|
+
* @summary Could not Base64 encode
|
|
719
729
|
* @category OpenSourceEcosystems
|
|
720
730
|
* @param {string} details the specific details that causes this error
|
|
721
731
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
722
732
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
723
733
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
724
734
|
*/
|
|
725
|
-
export declare class
|
|
735
|
+
export declare class Base64EncodeError extends ProblemError {
|
|
726
736
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
727
737
|
}
|
|
728
738
|
/**
|
|
729
739
|
* @class
|
|
730
|
-
* @name
|
|
731
|
-
* @description
|
|
732
|
-
* @summary Could not
|
|
740
|
+
* @name Base64DecodeError
|
|
741
|
+
* @description An error occurred while attempting to perform Base64 decoding.
|
|
742
|
+
* @summary Could not Base64 decode
|
|
733
743
|
* @category OpenSourceEcosystems
|
|
734
744
|
* @param {string} details the specific details that causes this error
|
|
735
745
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
736
746
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
737
747
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
738
748
|
*/
|
|
739
|
-
export declare class
|
|
749
|
+
export declare class Base64DecodeError extends ProblemError {
|
|
740
750
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
741
751
|
}
|
|
742
752
|
/**
|
|
743
753
|
* @class
|
|
744
|
-
* @name
|
|
745
|
-
* @description
|
|
746
|
-
* @summary
|
|
754
|
+
* @name MissingSupportedFileError
|
|
755
|
+
* @description Could not find supported file.
|
|
756
|
+
* @summary Missing supported file
|
|
747
757
|
* @category OpenSourceEcosystems
|
|
748
758
|
* @param {string} details the specific details that causes this error
|
|
749
759
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
750
760
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
751
761
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
752
762
|
*/
|
|
753
|
-
export declare class
|
|
763
|
+
export declare class MissingSupportedFileError extends ProblemError {
|
|
754
764
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
755
765
|
}
|
|
756
766
|
/**
|
|
757
767
|
* @class
|
|
758
|
-
* @name
|
|
759
|
-
* @description The
|
|
760
|
-
* @summary
|
|
768
|
+
* @name InvalidConfigurationError
|
|
769
|
+
* @description The configuration parameter does not meet the expected data type. Please ensure the provided value is of the correct data type.
|
|
770
|
+
* @summary Invalid configuration
|
|
761
771
|
* @category OpenSourceEcosystems
|
|
762
772
|
* @param {string} details the specific details that causes this error
|
|
763
773
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
764
774
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
765
775
|
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
766
776
|
*/
|
|
767
|
-
export declare class
|
|
777
|
+
export declare class InvalidConfigurationError extends ProblemError {
|
|
768
778
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
769
779
|
}
|
|
770
780
|
/**
|
|
@@ -773,7 +783,7 @@ export declare class BadNPMVersionError extends ProblemError {
|
|
|
773
783
|
* @description The provided requirements file is not supported by Snyk for Python.
|
|
774
784
|
*
|
|
775
785
|
* See more:
|
|
776
|
-
* - [https://docs.snyk.io/scan-
|
|
786
|
+
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/python](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/python)
|
|
777
787
|
* @summary Unsupported manifest file type for remediation
|
|
778
788
|
* @category OpenSourceEcosystems
|
|
779
789
|
* @param {string} details the specific details that causes this error
|
|
@@ -784,3 +794,31 @@ export declare class BadNPMVersionError extends ProblemError {
|
|
|
784
794
|
export declare class UnsupportedRequirementsFileError extends ProblemError {
|
|
785
795
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
786
796
|
}
|
|
797
|
+
/**
|
|
798
|
+
* @class
|
|
799
|
+
* @name TooManyManifestFilesError
|
|
800
|
+
* @description Too many manifest files were provided in the request body.
|
|
801
|
+
* @summary Received more manifests than expected
|
|
802
|
+
* @category OpenSourceEcosystems
|
|
803
|
+
* @param {string} details the specific details that causes this error
|
|
804
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
805
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
806
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
807
|
+
*/
|
|
808
|
+
export declare class TooManyManifestFilesError extends ProblemError {
|
|
809
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* @class
|
|
813
|
+
* @name FailedToApplyDependencyUpdatesError
|
|
814
|
+
* @description An error occured while updating dependencies.
|
|
815
|
+
* @summary Failed to apply dependency updates
|
|
816
|
+
* @category OpenSourceEcosystems
|
|
817
|
+
* @param {string} details the specific details that causes this error
|
|
818
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
819
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
820
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
821
|
+
*/
|
|
822
|
+
export declare class FailedToApplyDependencyUpdatesError extends ProblemError {
|
|
823
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
|
|
824
|
+
}
|