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