@snyk/error-catalog-nodejs-public 5.14.1 → 5.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/catalogs/Code-error-catalog.d.ts +20 -0
- package/src/catalogs/Code-error-catalog.js +38 -4
- package/src/catalogs/Code-error-catalog.js.map +1 -1
- package/src/catalogs/Fix-error-catalog.js +12 -12
- package/src/catalogs/Fix-error-catalog.js.map +1 -1
- package/src/catalogs/IsolatedBuilds-error-catalog.js +3 -3
- package/src/catalogs/IsolatedBuilds-error-catalog.js.map +1 -1
- package/src/catalogs/OpenAPI-error-catalog.js +8 -8
- package/src/catalogs/OpenAPI-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceEcosystems-error-catalog.d.ts +1 -1
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js +66 -66
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.js +5 -5
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js +5 -5
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.js +2 -2
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.js.map +1 -1
- package/src/catalogs/PRChecks-error-catalog.js +11 -11
- package/src/catalogs/PRChecks-error-catalog.js.map +1 -1
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js +19 -19
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js.map +1 -1
- package/src/catalogs/SbomExport-error-catalog.js +9 -9
- package/src/catalogs/SbomExport-error-catalog.js.map +1 -1
- package/src/catalogs/Snyk-error-catalog.js +7 -7
- package/src/catalogs/Snyk-error-catalog.js.map +1 -1
- package/src/catalogs/error-codes.d.ts +1 -0
- package/src/catalogs/error-codes.js +1 -0
- package/src/catalogs/error-codes.js.map +1 -1
- package/src/problem-error.js.map +1 -1
- package/src/util/json-api.js.map +1 -1
|
@@ -35,7 +35,7 @@ class UnparseableManifestError extends problem_error_1.ProblemError {
|
|
|
35
35
|
constructor(details, additionalData, cause, instance, logs) {
|
|
36
36
|
super({
|
|
37
37
|
title: 'Unable to parse manifest file',
|
|
38
|
-
type: 'https://docs.snyk.io/
|
|
38
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0001',
|
|
39
39
|
status: 400,
|
|
40
40
|
errorCode: 'SNYK-OS-0001',
|
|
41
41
|
level: 'error',
|
|
@@ -62,7 +62,7 @@ class UnparseableLockFileError extends problem_error_1.ProblemError {
|
|
|
62
62
|
constructor(details, additionalData, cause, instance, logs) {
|
|
63
63
|
super({
|
|
64
64
|
title: 'Unable to parse lock file',
|
|
65
|
-
type: 'https://docs.snyk.io/
|
|
65
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0002',
|
|
66
66
|
status: 400,
|
|
67
67
|
errorCode: 'SNYK-OS-0002',
|
|
68
68
|
level: 'error',
|
|
@@ -92,7 +92,7 @@ class UnknownDependencyVersionError extends problem_error_1.ProblemError {
|
|
|
92
92
|
constructor(details, additionalData, cause, instance, logs) {
|
|
93
93
|
super({
|
|
94
94
|
title: 'Unknown dependency version',
|
|
95
|
-
type: 'https://docs.snyk.io/
|
|
95
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0003',
|
|
96
96
|
status: 404,
|
|
97
97
|
errorCode: 'SNYK-OS-0003',
|
|
98
98
|
level: 'warn',
|
|
@@ -121,7 +121,7 @@ class MissingHeaderError extends problem_error_1.ProblemError {
|
|
|
121
121
|
constructor(details, additionalData, cause, instance, logs) {
|
|
122
122
|
super({
|
|
123
123
|
title: 'Missing required request header',
|
|
124
|
-
type: 'https://docs.snyk.io/
|
|
124
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0004',
|
|
125
125
|
status: 422,
|
|
126
126
|
errorCode: 'SNYK-OS-0004',
|
|
127
127
|
level: 'error',
|
|
@@ -148,7 +148,7 @@ class MissingPayloadError extends problem_error_1.ProblemError {
|
|
|
148
148
|
constructor(details, additionalData, cause, instance, logs) {
|
|
149
149
|
super({
|
|
150
150
|
title: 'Payload missing required elements',
|
|
151
|
-
type: 'https://docs.snyk.io/
|
|
151
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0005',
|
|
152
152
|
status: 422,
|
|
153
153
|
errorCode: 'SNYK-OS-0005',
|
|
154
154
|
level: 'error',
|
|
@@ -175,7 +175,7 @@ class UnprocessableFileError extends problem_error_1.ProblemError {
|
|
|
175
175
|
constructor(details, additionalData, cause, instance, logs) {
|
|
176
176
|
super({
|
|
177
177
|
title: 'Files cannot be processed',
|
|
178
|
-
type: 'https://docs.snyk.io/
|
|
178
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0006',
|
|
179
179
|
status: 422,
|
|
180
180
|
errorCode: 'SNYK-OS-0006',
|
|
181
181
|
level: 'error',
|
|
@@ -202,7 +202,7 @@ class CannotGetFileFromSourceError extends problem_error_1.ProblemError {
|
|
|
202
202
|
constructor(details, additionalData, cause, instance, logs) {
|
|
203
203
|
super({
|
|
204
204
|
title: 'Cannot get file from source',
|
|
205
|
-
type: 'https://docs.snyk.io/
|
|
205
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0007',
|
|
206
206
|
status: 500,
|
|
207
207
|
errorCode: 'SNYK-OS-0007',
|
|
208
208
|
level: 'error',
|
|
@@ -229,7 +229,7 @@ class MissingEnvironmentVariableError extends problem_error_1.ProblemError {
|
|
|
229
229
|
constructor(details, additionalData, cause, instance, logs) {
|
|
230
230
|
super({
|
|
231
231
|
title: 'Missing environment variable',
|
|
232
|
-
type: 'https://docs.snyk.io/
|
|
232
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0008',
|
|
233
233
|
status: 500,
|
|
234
234
|
errorCode: 'SNYK-OS-0008',
|
|
235
235
|
level: 'error',
|
|
@@ -259,7 +259,7 @@ class UnsupportedManifestFileError extends problem_error_1.ProblemError {
|
|
|
259
259
|
constructor(details, additionalData, cause, instance, logs) {
|
|
260
260
|
super({
|
|
261
261
|
title: 'Unsupported manifest file type for remediation',
|
|
262
|
-
type: 'https://docs.snyk.io/
|
|
262
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0001',
|
|
263
263
|
status: 400,
|
|
264
264
|
errorCode: 'SNYK-OS-DOTNET-0001',
|
|
265
265
|
level: 'error',
|
|
@@ -288,7 +288,7 @@ class UnsupportedTargetFrameworkError extends problem_error_1.ProblemError {
|
|
|
288
288
|
constructor(details, additionalData, cause, instance, logs) {
|
|
289
289
|
super({
|
|
290
290
|
title: 'Target framework not supported',
|
|
291
|
-
type: 'https://docs.snyk.io/
|
|
291
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0002',
|
|
292
292
|
status: 422,
|
|
293
293
|
errorCode: 'SNYK-OS-DOTNET-0002',
|
|
294
294
|
level: 'error',
|
|
@@ -333,7 +333,7 @@ class MissingStaticMainFunctionError extends problem_error_1.ProblemError {
|
|
|
333
333
|
constructor(details, additionalData, cause, instance, logs) {
|
|
334
334
|
super({
|
|
335
335
|
title: 'Your C# code is missing a static Main function',
|
|
336
|
-
type: 'https://docs.snyk.io/
|
|
336
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0003',
|
|
337
337
|
status: 422,
|
|
338
338
|
errorCode: 'SNYK-OS-DOTNET-0003',
|
|
339
339
|
level: 'error',
|
|
@@ -375,7 +375,7 @@ class PublishFailedError extends problem_error_1.ProblemError {
|
|
|
375
375
|
constructor(details, additionalData, cause, instance, logs) {
|
|
376
376
|
super({
|
|
377
377
|
title: 'The dotnet CLI is unable to generate a self-contained binary',
|
|
378
|
-
type: 'https://docs.snyk.io/
|
|
378
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0004',
|
|
379
379
|
status: 422,
|
|
380
380
|
errorCode: 'SNYK-OS-DOTNET-0004',
|
|
381
381
|
level: 'error',
|
|
@@ -446,7 +446,7 @@ class MissingMSBuildConditionError extends problem_error_1.ProblemError {
|
|
|
446
446
|
constructor(details, additionalData, cause, instance, logs) {
|
|
447
447
|
super({
|
|
448
448
|
title: 'Missing MSBuild Condition Construct in project file',
|
|
449
|
-
type: 'https://docs.snyk.io/
|
|
449
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0006',
|
|
450
450
|
status: 422,
|
|
451
451
|
errorCode: 'SNYK-OS-DOTNET-0006',
|
|
452
452
|
level: 'error',
|
|
@@ -464,7 +464,7 @@ exports.MissingMSBuildConditionError = MissingMSBuildConditionError;
|
|
|
464
464
|
* @name NoTargetFrameworksFoundError
|
|
465
465
|
* @description Snyk was unable to detect any `<TargetFramework>`s in the supplied manifest files.
|
|
466
466
|
*
|
|
467
|
-
* If you are using `Directory.Build.props` files to determine the target framework,
|
|
467
|
+
* If you are using `Directory.Build.props` files to determine the target framework, ensure that it is named as such. Due to performance considerations on the customer's SCM network, Snyk does not perform case-insensitive searches for `.props` files.
|
|
468
468
|
*
|
|
469
469
|
* See more:
|
|
470
470
|
* - [https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory?view=vs-2022#directorybuildprops-and-directorybuildtargets](https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory?view=vs-2022#directorybuildprops-and-directorybuildtargets)
|
|
@@ -480,7 +480,7 @@ class NoTargetFrameworksFoundError extends problem_error_1.ProblemError {
|
|
|
480
480
|
constructor(details, additionalData, cause, instance, logs) {
|
|
481
481
|
super({
|
|
482
482
|
title: 'No target frameworks found in manifest files',
|
|
483
|
-
type: 'https://docs.snyk.io/
|
|
483
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0007',
|
|
484
484
|
status: 422,
|
|
485
485
|
errorCode: 'SNYK-OS-DOTNET-0007',
|
|
486
486
|
level: 'error',
|
|
@@ -512,7 +512,7 @@ class PrivateModuleError extends problem_error_1.ProblemError {
|
|
|
512
512
|
constructor(details, additionalData, cause, instance, logs) {
|
|
513
513
|
super({
|
|
514
514
|
title: 'Failed to access private module',
|
|
515
|
-
type: 'https://docs.snyk.io/
|
|
515
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0001',
|
|
516
516
|
status: 400,
|
|
517
517
|
errorCode: 'SNYK-OS-GO-0001',
|
|
518
518
|
level: 'error',
|
|
@@ -544,7 +544,7 @@ class GoModFileMissingError extends problem_error_1.ProblemError {
|
|
|
544
544
|
constructor(details, additionalData, cause, instance, logs) {
|
|
545
545
|
super({
|
|
546
546
|
title: 'Go mod file not found',
|
|
547
|
-
type: 'https://docs.snyk.io/
|
|
547
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0002',
|
|
548
548
|
status: 400,
|
|
549
549
|
errorCode: 'SNYK-OS-GO-0002',
|
|
550
550
|
level: 'error',
|
|
@@ -581,7 +581,7 @@ class SsoReAuthRequiredError extends problem_error_1.ProblemError {
|
|
|
581
581
|
constructor(details, additionalData, cause, instance, logs) {
|
|
582
582
|
super({
|
|
583
583
|
title: 'OAuth re-authorization required',
|
|
584
|
-
type: 'https://docs.snyk.io/
|
|
584
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0003',
|
|
585
585
|
status: 422,
|
|
586
586
|
errorCode: 'SNYK-OS-GO-0003',
|
|
587
587
|
level: 'error',
|
|
@@ -621,7 +621,7 @@ class IncompleteProjectError extends problem_error_1.ProblemError {
|
|
|
621
621
|
constructor(details, additionalData, cause, instance, logs) {
|
|
622
622
|
super({
|
|
623
623
|
title: 'Your project repository is missing required files',
|
|
624
|
-
type: 'https://docs.snyk.io/
|
|
624
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0004',
|
|
625
625
|
status: 422,
|
|
626
626
|
errorCode: 'SNYK-OS-GO-0004',
|
|
627
627
|
level: 'error',
|
|
@@ -665,7 +665,7 @@ class InconsistentVendoringError extends problem_error_1.ProblemError {
|
|
|
665
665
|
constructor(details, additionalData, cause, instance, logs) {
|
|
666
666
|
super({
|
|
667
667
|
title: 'Your project repository has inconsistent vendoring information',
|
|
668
|
-
type: 'https://docs.snyk.io/
|
|
668
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0005',
|
|
669
669
|
status: 422,
|
|
670
670
|
errorCode: 'SNYK-OS-GO-0005',
|
|
671
671
|
level: 'error',
|
|
@@ -696,7 +696,7 @@ class UnsupportedExternalFileGenerationSCMError extends problem_error_1.ProblemE
|
|
|
696
696
|
constructor(details, additionalData, cause, instance, logs) {
|
|
697
697
|
super({
|
|
698
698
|
title: 'Unsupported external file generation',
|
|
699
|
-
type: 'https://docs.snyk.io/
|
|
699
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0006',
|
|
700
700
|
status: 422,
|
|
701
701
|
errorCode: 'SNYK-OS-GO-0006',
|
|
702
702
|
level: 'error',
|
|
@@ -731,7 +731,7 @@ class UnableToAccessPrivateDepsError extends problem_error_1.ProblemError {
|
|
|
731
731
|
constructor(details, additionalData, cause, instance, logs) {
|
|
732
732
|
super({
|
|
733
733
|
title: 'Unable to access private dependencies',
|
|
734
|
-
type: 'https://docs.snyk.io/
|
|
734
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0007',
|
|
735
735
|
status: 422,
|
|
736
736
|
errorCode: 'SNYK-OS-GO-0007',
|
|
737
737
|
level: 'error',
|
|
@@ -764,7 +764,7 @@ class UnableToUseCredentialsError extends problem_error_1.ProblemError {
|
|
|
764
764
|
constructor(details, additionalData, cause, instance, logs) {
|
|
765
765
|
super({
|
|
766
766
|
title: 'Unable to fetch private dependencies',
|
|
767
|
-
type: 'https://docs.snyk.io/
|
|
767
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0008',
|
|
768
768
|
status: 401,
|
|
769
769
|
errorCode: 'SNYK-OS-GO-0008',
|
|
770
770
|
level: 'error',
|
|
@@ -791,7 +791,7 @@ class ToolchainNotAvailableError extends problem_error_1.ProblemError {
|
|
|
791
791
|
constructor(details, additionalData, cause, instance, logs) {
|
|
792
792
|
super({
|
|
793
793
|
title: 'Toolchain not available',
|
|
794
|
-
type: 'https://docs.snyk.io/
|
|
794
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0009',
|
|
795
795
|
status: 500,
|
|
796
796
|
errorCode: 'SNYK-OS-GO-0009',
|
|
797
797
|
level: 'error',
|
|
@@ -818,7 +818,7 @@ class MissingRequirementFromPomError extends problem_error_1.ProblemError {
|
|
|
818
818
|
constructor(details, additionalData, cause, instance, logs) {
|
|
819
819
|
super({
|
|
820
820
|
title: 'Missing property',
|
|
821
|
-
type: 'https://docs.snyk.io/
|
|
821
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0001',
|
|
822
822
|
status: 422,
|
|
823
823
|
errorCode: 'SNYK-OS-MAVEN-0001',
|
|
824
824
|
level: 'error',
|
|
@@ -845,7 +845,7 @@ class UnableToResolveValueForPropertyError extends problem_error_1.ProblemError
|
|
|
845
845
|
constructor(details, additionalData, cause, instance, logs) {
|
|
846
846
|
super({
|
|
847
847
|
title: 'Unable to resolve value for property',
|
|
848
|
-
type: 'https://docs.snyk.io/
|
|
848
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0002',
|
|
849
849
|
status: 422,
|
|
850
850
|
errorCode: 'SNYK-OS-MAVEN-0002',
|
|
851
851
|
level: 'error',
|
|
@@ -872,7 +872,7 @@ class UnableToResolveVersionForPropertyError extends problem_error_1.ProblemErro
|
|
|
872
872
|
constructor(details, additionalData, cause, instance, logs) {
|
|
873
873
|
super({
|
|
874
874
|
title: 'Unable to resolve version for property',
|
|
875
|
-
type: 'https://docs.snyk.io/
|
|
875
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0003',
|
|
876
876
|
status: 500,
|
|
877
877
|
errorCode: 'SNYK-OS-MAVEN-0003',
|
|
878
878
|
level: 'error',
|
|
@@ -899,7 +899,7 @@ class CyclicPropertyDetectedInPomFileError extends problem_error_1.ProblemError
|
|
|
899
899
|
constructor(details, additionalData, cause, instance, logs) {
|
|
900
900
|
super({
|
|
901
901
|
title: 'Cyclic property detected in POM file',
|
|
902
|
-
type: 'https://docs.snyk.io/
|
|
902
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0004',
|
|
903
903
|
status: 422,
|
|
904
904
|
errorCode: 'SNYK-OS-MAVEN-0004',
|
|
905
905
|
level: 'error',
|
|
@@ -926,7 +926,7 @@ class UnableToParseXMLError extends problem_error_1.ProblemError {
|
|
|
926
926
|
constructor(details, additionalData, cause, instance, logs) {
|
|
927
927
|
super({
|
|
928
928
|
title: 'Error parsing the XML file',
|
|
929
|
-
type: 'https://docs.snyk.io/
|
|
929
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0005',
|
|
930
930
|
status: 422,
|
|
931
931
|
errorCode: 'SNYK-OS-MAVEN-0005',
|
|
932
932
|
level: 'error',
|
|
@@ -953,7 +953,7 @@ class InvalidCoordinatesError extends problem_error_1.ProblemError {
|
|
|
953
953
|
constructor(details, additionalData, cause, instance, logs) {
|
|
954
954
|
super({
|
|
955
955
|
title: 'Invalid coordinates provided',
|
|
956
|
-
type: 'https://docs.snyk.io/
|
|
956
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0006',
|
|
957
957
|
status: 422,
|
|
958
958
|
errorCode: 'SNYK-OS-MAVEN-0006',
|
|
959
959
|
level: 'error',
|
|
@@ -980,7 +980,7 @@ class SkippedGroupError extends problem_error_1.ProblemError {
|
|
|
980
980
|
constructor(details, additionalData, cause, instance, logs) {
|
|
981
981
|
super({
|
|
982
982
|
title: 'Skipping group',
|
|
983
|
-
type: 'https://docs.snyk.io/
|
|
983
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0007',
|
|
984
984
|
status: 422,
|
|
985
985
|
errorCode: 'SNYK-OS-MAVEN-0007',
|
|
986
986
|
level: 'error',
|
|
@@ -1007,7 +1007,7 @@ class PomFileNotFoundError extends problem_error_1.ProblemError {
|
|
|
1007
1007
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1008
1008
|
super({
|
|
1009
1009
|
title: 'Pom file not found',
|
|
1010
|
-
type: 'https://docs.snyk.io/
|
|
1010
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0008',
|
|
1011
1011
|
status: 422,
|
|
1012
1012
|
errorCode: 'SNYK-OS-MAVEN-0008',
|
|
1013
1013
|
level: 'error',
|
|
@@ -1034,7 +1034,7 @@ class MissingProjectFromPomError extends problem_error_1.ProblemError {
|
|
|
1034
1034
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1035
1035
|
super({
|
|
1036
1036
|
title: 'Missing project from POM',
|
|
1037
|
-
type: 'https://docs.snyk.io/
|
|
1037
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0009',
|
|
1038
1038
|
status: 422,
|
|
1039
1039
|
errorCode: 'SNYK-OS-MAVEN-0009',
|
|
1040
1040
|
level: 'error',
|
|
@@ -1061,7 +1061,7 @@ class CannotResolveTargetPomFromXmlError extends problem_error_1.ProblemError {
|
|
|
1061
1061
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1062
1062
|
super({
|
|
1063
1063
|
title: 'Cannot resolve the target POM from the input XML',
|
|
1064
|
-
type: 'https://docs.snyk.io/
|
|
1064
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0010',
|
|
1065
1065
|
status: 422,
|
|
1066
1066
|
errorCode: 'SNYK-OS-MAVEN-0010',
|
|
1067
1067
|
level: 'error',
|
|
@@ -1088,7 +1088,7 @@ class CannotResolveTargetPomFromRepoError extends problem_error_1.ProblemError {
|
|
|
1088
1088
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1089
1089
|
super({
|
|
1090
1090
|
title: 'Cannot resolve the target POM from the repository',
|
|
1091
|
-
type: 'https://docs.snyk.io/
|
|
1091
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0011',
|
|
1092
1092
|
status: 404,
|
|
1093
1093
|
errorCode: 'SNYK-OS-MAVEN-0011',
|
|
1094
1094
|
level: 'error',
|
|
@@ -1115,7 +1115,7 @@ class CannotGetBuildFileFromRepoError extends problem_error_1.ProblemError {
|
|
|
1115
1115
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1116
1116
|
super({
|
|
1117
1117
|
title: 'Cannot get the build file repository',
|
|
1118
|
-
type: 'https://docs.snyk.io/
|
|
1118
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0012',
|
|
1119
1119
|
status: 404,
|
|
1120
1120
|
errorCode: 'SNYK-OS-MAVEN-0012',
|
|
1121
1121
|
level: 'error',
|
|
@@ -1142,7 +1142,7 @@ class CannotCreateGitHostError extends problem_error_1.ProblemError {
|
|
|
1142
1142
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1143
1143
|
super({
|
|
1144
1144
|
title: 'Unable to create hosted git info',
|
|
1145
|
-
type: 'https://docs.snyk.io/
|
|
1145
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0013',
|
|
1146
1146
|
status: 500,
|
|
1147
1147
|
errorCode: 'SNYK-OS-MAVEN-0013',
|
|
1148
1148
|
level: 'error',
|
|
@@ -1169,7 +1169,7 @@ class NoReleasedVersionForVersionsRangeError extends problem_error_1.ProblemErro
|
|
|
1169
1169
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1170
1170
|
super({
|
|
1171
1171
|
title: 'No released version for versions range',
|
|
1172
|
-
type: 'https://docs.snyk.io/
|
|
1172
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0014',
|
|
1173
1173
|
status: 422,
|
|
1174
1174
|
errorCode: 'SNYK-OS-MAVEN-0014',
|
|
1175
1175
|
level: 'error',
|
|
@@ -1196,7 +1196,7 @@ class SourceNotSupportedError extends problem_error_1.ProblemError {
|
|
|
1196
1196
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1197
1197
|
super({
|
|
1198
1198
|
title: 'Source is not supported',
|
|
1199
|
-
type: 'https://docs.snyk.io/
|
|
1199
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0015',
|
|
1200
1200
|
status: 422,
|
|
1201
1201
|
errorCode: 'SNYK-OS-MAVEN-0015',
|
|
1202
1202
|
level: 'error',
|
|
@@ -1223,7 +1223,7 @@ class TimeoutWhenProcessingTheDepTreeError extends problem_error_1.ProblemError
|
|
|
1223
1223
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1224
1224
|
super({
|
|
1225
1225
|
title: 'Timeout when processing the dependency tree',
|
|
1226
|
-
type: 'https://docs.snyk.io/
|
|
1226
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0016',
|
|
1227
1227
|
status: 422,
|
|
1228
1228
|
errorCode: 'SNYK-OS-MAVEN-0016',
|
|
1229
1229
|
level: 'error',
|
|
@@ -1250,7 +1250,7 @@ class NoRepoFoundForTheNPMPackageError extends problem_error_1.ProblemError {
|
|
|
1250
1250
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1251
1251
|
super({
|
|
1252
1252
|
title: 'No repository found for A NPM package',
|
|
1253
|
-
type: 'https://docs.snyk.io/
|
|
1253
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0001',
|
|
1254
1254
|
status: 422,
|
|
1255
1255
|
errorCode: 'SNYK-OS-NODEJS-0001',
|
|
1256
1256
|
level: 'error',
|
|
@@ -1277,7 +1277,7 @@ class CouldNotParseNPMRegistryURLError extends problem_error_1.ProblemError {
|
|
|
1277
1277
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1278
1278
|
super({
|
|
1279
1279
|
title: 'Could not parse NPM registry URL',
|
|
1280
|
-
type: 'https://docs.snyk.io/
|
|
1280
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0002',
|
|
1281
1281
|
status: 422,
|
|
1282
1282
|
errorCode: 'SNYK-OS-NODEJS-0002',
|
|
1283
1283
|
level: 'error',
|
|
@@ -1304,7 +1304,7 @@ class CouldNotFindBrokerURLError extends problem_error_1.ProblemError {
|
|
|
1304
1304
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1305
1305
|
super({
|
|
1306
1306
|
title: 'Could not find a broker resolved URL',
|
|
1307
|
-
type: 'https://docs.snyk.io/
|
|
1307
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0003',
|
|
1308
1308
|
status: 422,
|
|
1309
1309
|
errorCode: 'SNYK-OS-NODEJS-0003',
|
|
1310
1310
|
level: 'error',
|
|
@@ -1331,7 +1331,7 @@ class UnableToReplaceBrokerURLError extends problem_error_1.ProblemError {
|
|
|
1331
1331
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1332
1332
|
super({
|
|
1333
1333
|
title: 'Unable to replace broker URL',
|
|
1334
|
-
type: 'https://docs.snyk.io/
|
|
1334
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0004',
|
|
1335
1335
|
status: 422,
|
|
1336
1336
|
errorCode: 'SNYK-OS-NODEJS-0004',
|
|
1337
1337
|
level: 'error',
|
|
@@ -1358,7 +1358,7 @@ class BadNPMVersionError extends problem_error_1.ProblemError {
|
|
|
1358
1358
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1359
1359
|
super({
|
|
1360
1360
|
title: 'Bad NPM version',
|
|
1361
|
-
type: 'https://docs.snyk.io/
|
|
1361
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0005',
|
|
1362
1362
|
status: 422,
|
|
1363
1363
|
errorCode: 'SNYK-OS-NODEJS-0005',
|
|
1364
1364
|
level: 'error',
|
|
@@ -1385,7 +1385,7 @@ class UnknownBlobEncodingOnGithubError extends problem_error_1.ProblemError {
|
|
|
1385
1385
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1386
1386
|
super({
|
|
1387
1387
|
title: 'Unknown blob encoding on Github',
|
|
1388
|
-
type: 'https://docs.snyk.io/
|
|
1388
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0006',
|
|
1389
1389
|
status: 422,
|
|
1390
1390
|
errorCode: 'SNYK-OS-NODEJS-0006',
|
|
1391
1391
|
level: 'error',
|
|
@@ -1412,7 +1412,7 @@ class NoResultsFromForkerProcessesError extends problem_error_1.ProblemError {
|
|
|
1412
1412
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1413
1413
|
super({
|
|
1414
1414
|
title: 'No result from forked process',
|
|
1415
|
-
type: 'https://docs.snyk.io/
|
|
1415
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0007',
|
|
1416
1416
|
status: 500,
|
|
1417
1417
|
errorCode: 'SNYK-OS-NODEJS-0007',
|
|
1418
1418
|
level: 'error',
|
|
@@ -1439,7 +1439,7 @@ class ChildProcessExecutionError extends problem_error_1.ProblemError {
|
|
|
1439
1439
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1440
1440
|
super({
|
|
1441
1441
|
title: 'Child Process Execution Error',
|
|
1442
|
-
type: 'https://docs.snyk.io/
|
|
1442
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0008',
|
|
1443
1443
|
status: 500,
|
|
1444
1444
|
errorCode: 'SNYK-OS-NODEJS-0008',
|
|
1445
1445
|
level: 'error',
|
|
@@ -1466,7 +1466,7 @@ class NoValidPackageUpgradesError extends problem_error_1.ProblemError {
|
|
|
1466
1466
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1467
1467
|
super({
|
|
1468
1468
|
title: 'No valid package upgrades',
|
|
1469
|
-
type: 'https://docs.snyk.io/
|
|
1469
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0009',
|
|
1470
1470
|
status: 422,
|
|
1471
1471
|
errorCode: 'SNYK-OS-NODEJS-0009',
|
|
1472
1472
|
level: 'error',
|
|
@@ -1493,7 +1493,7 @@ class NoDependencyUpdatesError extends problem_error_1.ProblemError {
|
|
|
1493
1493
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1494
1494
|
super({
|
|
1495
1495
|
title: 'No dependency updates',
|
|
1496
|
-
type: 'https://docs.snyk.io/
|
|
1496
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0010',
|
|
1497
1497
|
status: 422,
|
|
1498
1498
|
errorCode: 'SNYK-OS-NODEJS-0010',
|
|
1499
1499
|
level: 'error',
|
|
@@ -1520,7 +1520,7 @@ class CouldNotParseJSONFileError extends problem_error_1.ProblemError {
|
|
|
1520
1520
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1521
1521
|
super({
|
|
1522
1522
|
title: 'Could not parse JSON file',
|
|
1523
|
-
type: 'https://docs.snyk.io/
|
|
1523
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0011',
|
|
1524
1524
|
status: 422,
|
|
1525
1525
|
errorCode: 'SNYK-OS-NODEJS-0011',
|
|
1526
1526
|
level: 'error',
|
|
@@ -1547,7 +1547,7 @@ class Base64EncodeError extends problem_error_1.ProblemError {
|
|
|
1547
1547
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1548
1548
|
super({
|
|
1549
1549
|
title: 'Could not Base64 encode',
|
|
1550
|
-
type: 'https://docs.snyk.io/
|
|
1550
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0012',
|
|
1551
1551
|
status: 422,
|
|
1552
1552
|
errorCode: 'SNYK-OS-NODEJS-0012',
|
|
1553
1553
|
level: 'error',
|
|
@@ -1574,7 +1574,7 @@ class Base64DecodeError extends problem_error_1.ProblemError {
|
|
|
1574
1574
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1575
1575
|
super({
|
|
1576
1576
|
title: 'Could not Base64 decode',
|
|
1577
|
-
type: 'https://docs.snyk.io/
|
|
1577
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0013',
|
|
1578
1578
|
status: 422,
|
|
1579
1579
|
errorCode: 'SNYK-OS-NODEJS-0013',
|
|
1580
1580
|
level: 'error',
|
|
@@ -1601,7 +1601,7 @@ class MissingSupportedFileError extends problem_error_1.ProblemError {
|
|
|
1601
1601
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1602
1602
|
super({
|
|
1603
1603
|
title: 'Missing supported file',
|
|
1604
|
-
type: 'https://docs.snyk.io/
|
|
1604
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0014',
|
|
1605
1605
|
status: 400,
|
|
1606
1606
|
errorCode: 'SNYK-OS-NODEJS-0014',
|
|
1607
1607
|
level: 'error',
|
|
@@ -1628,7 +1628,7 @@ class InvalidConfigurationError extends problem_error_1.ProblemError {
|
|
|
1628
1628
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1629
1629
|
super({
|
|
1630
1630
|
title: 'Invalid configuration',
|
|
1631
|
-
type: 'https://docs.snyk.io/
|
|
1631
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0015',
|
|
1632
1632
|
status: 400,
|
|
1633
1633
|
errorCode: 'SNYK-OS-NODEJS-0015',
|
|
1634
1634
|
level: 'warn',
|
|
@@ -1658,7 +1658,7 @@ class UnsupportedRequirementsFileError extends problem_error_1.ProblemError {
|
|
|
1658
1658
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1659
1659
|
super({
|
|
1660
1660
|
title: 'Unsupported manifest file type for remediation',
|
|
1661
|
-
type: 'https://docs.snyk.io/
|
|
1661
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0001',
|
|
1662
1662
|
status: 422,
|
|
1663
1663
|
errorCode: 'SNYK-OS-PYTHON-0001',
|
|
1664
1664
|
level: 'error',
|
|
@@ -1687,7 +1687,7 @@ class TooManyManifestFilesError extends problem_error_1.ProblemError {
|
|
|
1687
1687
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1688
1688
|
super({
|
|
1689
1689
|
title: 'Received more manifests than expected',
|
|
1690
|
-
type: 'https://docs.snyk.io/
|
|
1690
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0002',
|
|
1691
1691
|
status: 422,
|
|
1692
1692
|
errorCode: 'SNYK-OS-PYTHON-0002',
|
|
1693
1693
|
level: 'error',
|
|
@@ -1714,7 +1714,7 @@ class FailedToApplyDependencyUpdatesError extends problem_error_1.ProblemError {
|
|
|
1714
1714
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1715
1715
|
super({
|
|
1716
1716
|
title: 'Failed to apply dependency updates',
|
|
1717
|
-
type: 'https://docs.snyk.io/
|
|
1717
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0003',
|
|
1718
1718
|
status: 422,
|
|
1719
1719
|
errorCode: 'SNYK-OS-PYTHON-0003',
|
|
1720
1720
|
level: 'error',
|
|
@@ -1742,7 +1742,7 @@ class PythonPackageNotFoundError extends problem_error_1.ProblemError {
|
|
|
1742
1742
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1743
1743
|
super({
|
|
1744
1744
|
title: 'Python package not found',
|
|
1745
|
-
type: 'https://docs.snyk.io/
|
|
1745
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0004',
|
|
1746
1746
|
status: 422,
|
|
1747
1747
|
errorCode: 'SNYK-OS-PYTHON-0004',
|
|
1748
1748
|
level: 'error',
|
|
@@ -1770,7 +1770,7 @@ class SyntaxIssuesError extends problem_error_1.ProblemError {
|
|
|
1770
1770
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1771
1771
|
super({
|
|
1772
1772
|
title: 'Syntax errors found in manifest file',
|
|
1773
|
-
type: 'https://docs.snyk.io/
|
|
1773
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0005',
|
|
1774
1774
|
status: 422,
|
|
1775
1775
|
errorCode: 'SNYK-OS-PYTHON-0005',
|
|
1776
1776
|
level: 'error',
|
|
@@ -1799,7 +1799,7 @@ class PipUnsupportedPythonVersionError extends problem_error_1.ProblemError {
|
|
|
1799
1799
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1800
1800
|
super({
|
|
1801
1801
|
title: 'Python version not supported',
|
|
1802
|
-
type: 'https://docs.snyk.io/
|
|
1802
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0006',
|
|
1803
1803
|
status: 422,
|
|
1804
1804
|
errorCode: 'SNYK-OS-PYTHON-0006',
|
|
1805
1805
|
level: 'error',
|
|
@@ -1827,7 +1827,7 @@ class PythonVersionConfictError extends problem_error_1.ProblemError {
|
|
|
1827
1827
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1828
1828
|
super({
|
|
1829
1829
|
title: 'Packages versions caused conflicts',
|
|
1830
|
-
type: 'https://docs.snyk.io/
|
|
1830
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0007',
|
|
1831
1831
|
status: 422,
|
|
1832
1832
|
errorCode: 'SNYK-OS-PYTHON-0007',
|
|
1833
1833
|
level: 'error',
|
|
@@ -1856,7 +1856,7 @@ class PipNoMatchingPythonDistributionError extends problem_error_1.ProblemError
|
|
|
1856
1856
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1857
1857
|
super({
|
|
1858
1858
|
title: 'No matching distribution found for one or more of the packages',
|
|
1859
|
-
type: 'https://docs.snyk.io/
|
|
1859
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0008',
|
|
1860
1860
|
status: 422,
|
|
1861
1861
|
errorCode: 'SNYK-OS-PYTHON-0008',
|
|
1862
1862
|
level: 'error',
|
|
@@ -1883,7 +1883,7 @@ class InstallationFailureError extends problem_error_1.ProblemError {
|
|
|
1883
1883
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1884
1884
|
super({
|
|
1885
1885
|
title: 'Packages installation failed',
|
|
1886
|
-
type: 'https://docs.snyk.io/
|
|
1886
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0009',
|
|
1887
1887
|
status: 422,
|
|
1888
1888
|
errorCode: 'SNYK-OS-PYTHON-0009',
|
|
1889
1889
|
level: 'error',
|
|
@@ -1911,7 +1911,7 @@ class PipenvUnsupportedPythonVersionError extends problem_error_1.ProblemError {
|
|
|
1911
1911
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1912
1912
|
super({
|
|
1913
1913
|
title: 'Python version not supported',
|
|
1914
|
-
type: 'https://docs.snyk.io/
|
|
1914
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0010',
|
|
1915
1915
|
status: 422,
|
|
1916
1916
|
errorCode: 'SNYK-OS-PYTHON-0010',
|
|
1917
1917
|
level: 'error',
|
|
@@ -1939,7 +1939,7 @@ class PipenvNoMatchingPythonDistributionError extends problem_error_1.ProblemErr
|
|
|
1939
1939
|
constructor(details, additionalData, cause, instance, logs) {
|
|
1940
1940
|
super({
|
|
1941
1941
|
title: 'No matching distribution found for one or more of the packages',
|
|
1942
|
-
type: 'https://docs.snyk.io/
|
|
1942
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0011',
|
|
1943
1943
|
status: 422,
|
|
1944
1944
|
errorCode: 'SNYK-OS-PYTHON-0011',
|
|
1945
1945
|
level: 'error',
|