@snyk/error-catalog-nodejs-public 4.0.4 → 5.0.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/IsolatedBuilds-error-catalog.d.ts +1 -1
- package/src/catalogs/IsolatedBuilds-error-catalog.js +1 -1
- package/src/catalogs/OpenAPI-error-catalog.d.ts +6 -6
- package/src/catalogs/OpenAPI-error-catalog.js +7 -7
- package/src/catalogs/OpenAPI-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceEcosystems-error-catalog.d.ts +2 -2
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js +4 -4
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.d.ts +1 -1
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.js +1 -1
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.d.ts +2 -2
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js +2 -2
- package/src/catalogs/SbomExport-error-catalog.d.ts +1 -1
- package/src/catalogs/SbomExport-error-catalog.js +2 -2
- package/src/catalogs/Snyk-error-catalog.d.ts +1 -1
- package/src/catalogs/Snyk-error-catalog.js +1 -1
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@ export declare class BuildEnvironmentNotFoundError extends ProblemError {
|
|
|
48
48
|
/**
|
|
49
49
|
* @class
|
|
50
50
|
* @name UnsupportedEcosystemError
|
|
51
|
-
* @description The language or package manager is not supported.
|
|
51
|
+
* @description The language or package manager is not supported. Please refer to the supported package managers in the links.
|
|
52
52
|
*
|
|
53
53
|
* See more:
|
|
54
54
|
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source)
|
|
@@ -75,7 +75,7 @@ exports.BuildEnvironmentNotFoundError = BuildEnvironmentNotFoundError;
|
|
|
75
75
|
/**
|
|
76
76
|
* @class
|
|
77
77
|
* @name UnsupportedEcosystemError
|
|
78
|
-
* @description The language or package manager is not supported.
|
|
78
|
+
* @description The language or package manager is not supported. Please refer to the supported package managers in the links.
|
|
79
79
|
*
|
|
80
80
|
* See more:
|
|
81
81
|
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source)
|
|
@@ -34,7 +34,7 @@ export declare class BadRequestError extends ProblemError {
|
|
|
34
34
|
/**
|
|
35
35
|
* @class
|
|
36
36
|
* @name ForbiddenError
|
|
37
|
-
* @description Access to the requested resource is forbidden.
|
|
37
|
+
* @description Access to the requested resource is forbidden. Review the request, then try again.
|
|
38
38
|
* @summary Forbidden
|
|
39
39
|
* @category OpenAPI
|
|
40
40
|
* @param {string} details the specific details that causes this error
|
|
@@ -62,7 +62,7 @@ export declare class NotAcceptableError extends ProblemError {
|
|
|
62
62
|
/**
|
|
63
63
|
* @class
|
|
64
64
|
* @name NotFoundError
|
|
65
|
-
* @description The server cannot find the requested resource.
|
|
65
|
+
* @description The server cannot find the requested resource. Review the request, then try again.
|
|
66
66
|
* @summary Not found
|
|
67
67
|
* @category OpenAPI
|
|
68
68
|
* @param {string} details the specific details that causes this error
|
|
@@ -90,7 +90,7 @@ export declare class MethodNotAllowedError extends ProblemError {
|
|
|
90
90
|
/**
|
|
91
91
|
* @class
|
|
92
92
|
* @name RequestEntityTooLargeError
|
|
93
|
-
* @description The request entity exceeds server limitations.
|
|
93
|
+
* @description The request entity exceeds server limitations. Reduce the size of the request entity, then try again.
|
|
94
94
|
* @summary Request entity too large
|
|
95
95
|
* @category OpenAPI
|
|
96
96
|
* @param {string} details the specific details that causes this error
|
|
@@ -104,10 +104,10 @@ export declare class RequestEntityTooLargeError extends ProblemError {
|
|
|
104
104
|
/**
|
|
105
105
|
* @class
|
|
106
106
|
* @name UnauthorizedError
|
|
107
|
-
* @description The request lacks authentication credentials for the requested resource.
|
|
107
|
+
* @description The request lacks authentication credentials for the requested resource. Ensure you are sending valid credentials, then try again.
|
|
108
108
|
*
|
|
109
109
|
* See more:
|
|
110
|
-
* - [https://docs.snyk.io/snyk-api-info/authentication-for-api
|
|
110
|
+
* - [https://docs.snyk.io/snyk-api-info/authentication-for-api](https://docs.snyk.io/snyk-api-info/authentication-for-api)
|
|
111
111
|
* @summary Unauthorized
|
|
112
112
|
* @category OpenAPI
|
|
113
113
|
* @param {string} details the specific details that causes this error
|
|
@@ -121,7 +121,7 @@ export declare class UnauthorizedError extends ProblemError {
|
|
|
121
121
|
/**
|
|
122
122
|
* @class
|
|
123
123
|
* @name UnsupportedMediaTypeError
|
|
124
|
-
* @description The media format of the request is not supported.
|
|
124
|
+
* @description The media format of the request is not supported. Change media format, then try again.
|
|
125
125
|
* @summary Unsupported media type
|
|
126
126
|
* @category OpenAPI
|
|
127
127
|
* @param {string} details the specific details that causes this error
|
|
@@ -50,7 +50,7 @@ exports.BadRequestError = BadRequestError;
|
|
|
50
50
|
/**
|
|
51
51
|
* @class
|
|
52
52
|
* @name ForbiddenError
|
|
53
|
-
* @description Access to the requested resource is forbidden.
|
|
53
|
+
* @description Access to the requested resource is forbidden. Review the request, then try again.
|
|
54
54
|
* @summary Forbidden
|
|
55
55
|
* @category OpenAPI
|
|
56
56
|
* @param {string} details the specific details that causes this error
|
|
@@ -100,7 +100,7 @@ exports.NotAcceptableError = NotAcceptableError;
|
|
|
100
100
|
/**
|
|
101
101
|
* @class
|
|
102
102
|
* @name NotFoundError
|
|
103
|
-
* @description The server cannot find the requested resource.
|
|
103
|
+
* @description The server cannot find the requested resource. Review the request, then try again.
|
|
104
104
|
* @summary Not found
|
|
105
105
|
* @category OpenAPI
|
|
106
106
|
* @param {string} details the specific details that causes this error
|
|
@@ -150,7 +150,7 @@ exports.MethodNotAllowedError = MethodNotAllowedError;
|
|
|
150
150
|
/**
|
|
151
151
|
* @class
|
|
152
152
|
* @name RequestEntityTooLargeError
|
|
153
|
-
* @description The request entity exceeds server limitations.
|
|
153
|
+
* @description The request entity exceeds server limitations. Reduce the size of the request entity, then try again.
|
|
154
154
|
* @summary Request entity too large
|
|
155
155
|
* @category OpenAPI
|
|
156
156
|
* @param {string} details the specific details that causes this error
|
|
@@ -175,10 +175,10 @@ exports.RequestEntityTooLargeError = RequestEntityTooLargeError;
|
|
|
175
175
|
/**
|
|
176
176
|
* @class
|
|
177
177
|
* @name UnauthorizedError
|
|
178
|
-
* @description The request lacks authentication credentials for the requested resource.
|
|
178
|
+
* @description The request lacks authentication credentials for the requested resource. Ensure you are sending valid credentials, then try again.
|
|
179
179
|
*
|
|
180
180
|
* See more:
|
|
181
|
-
* - [https://docs.snyk.io/snyk-api-info/authentication-for-api
|
|
181
|
+
* - [https://docs.snyk.io/snyk-api-info/authentication-for-api](https://docs.snyk.io/snyk-api-info/authentication-for-api)
|
|
182
182
|
* @summary Unauthorized
|
|
183
183
|
* @category OpenAPI
|
|
184
184
|
* @param {string} details the specific details that causes this error
|
|
@@ -196,7 +196,7 @@ class UnauthorizedError extends problem_error_1.ProblemError {
|
|
|
196
196
|
level: 'warn',
|
|
197
197
|
instance,
|
|
198
198
|
}, details, Object.assign({ links: [
|
|
199
|
-
'https://docs.snyk.io/snyk-api-info/authentication-for-api
|
|
199
|
+
'https://docs.snyk.io/snyk-api-info/authentication-for-api',
|
|
200
200
|
] }, additionalData), cause);
|
|
201
201
|
this.name = this.constructor.name;
|
|
202
202
|
}
|
|
@@ -205,7 +205,7 @@ exports.UnauthorizedError = UnauthorizedError;
|
|
|
205
205
|
/**
|
|
206
206
|
* @class
|
|
207
207
|
* @name UnsupportedMediaTypeError
|
|
208
|
-
* @description The media format of the request is not supported.
|
|
208
|
+
* @description The media format of the request is not supported. Change media format, then try again.
|
|
209
209
|
* @summary Unsupported media type
|
|
210
210
|
* @category OpenAPI
|
|
211
211
|
* @param {string} details the specific details that causes this error
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenAPI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/OpenAPI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oDAAgD;AAEhD;;;;;;;;;;;;;GAaG;AACH,MAAa,eAAgB,SAAQ,4BAAY;IAC/C,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yEAAyE;aACxE,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA3BD,0CA2BC;AAED;;;;;;;;;;GAUG;AACH,MAAa,cAAe,SAAQ,4BAAY;IAC9C,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAzBD,wCAyBC;AAED;;;;;;;;;;GAUG;AACH,MAAa,kBAAmB,SAAQ,4BAAY;IAClD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,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AAQ,4BAAY;IAC1D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAzBD,gEAyBC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAa,iBAAkB,SAAQ,4BAAY;IACjD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,
|
|
1
|
+
{"version":3,"file":"OpenAPI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/OpenAPI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oDAAgD;AAEhD;;;;;;;;;;;;;GAaG;AACH,MAAa,eAAgB,SAAQ,4BAAY;IAC/C,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yEAAyE;aACxE,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAA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SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,2DAA2D;aAC1D,IACE,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA3BD,8CA2BC;AAED;;;;;;;;;;GAUG;AACH,MAAa,yBAA0B,SAAQ,4BAAY;IACzD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB;QAEnB,KAAK,CACH;YACE,KAAK,EAAE,wBAAwB;YAC/B,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,CACN,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAzBD,8DAyBC"}
|
|
@@ -556,7 +556,7 @@ export declare class SourceNotSupportedError extends ProblemError {
|
|
|
556
556
|
/**
|
|
557
557
|
* @class
|
|
558
558
|
* @name TimeoutWhenProcessingTheDepTreeError
|
|
559
|
-
* @description There was an timeout when processing the
|
|
559
|
+
* @description There was an timeout when processing the dependency tree.
|
|
560
560
|
* @summary Timeout when processing the dependency tree
|
|
561
561
|
* @category OpenSourceEcosystems
|
|
562
562
|
* @param {string} details the specific details that causes this error
|
|
@@ -811,7 +811,7 @@ export declare class TooManyManifestFilesError extends ProblemError {
|
|
|
811
811
|
/**
|
|
812
812
|
* @class
|
|
813
813
|
* @name FailedToApplyDependencyUpdatesError
|
|
814
|
-
* @description An error
|
|
814
|
+
* @description An error occurred while updating dependencies.
|
|
815
815
|
* @summary Failed to apply dependency updates
|
|
816
816
|
* @category OpenSourceEcosystems
|
|
817
817
|
* @param {string} details the specific details that causes this error
|
|
@@ -633,7 +633,7 @@ class UnableToResolveVersionForPropertyError extends problem_error_1.ProblemErro
|
|
|
633
633
|
super({
|
|
634
634
|
title: 'Unable to resolve version for property',
|
|
635
635
|
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-os-maven-0003',
|
|
636
|
-
status:
|
|
636
|
+
status: 500,
|
|
637
637
|
errorCode: 'SNYK-OS-MAVEN-0003',
|
|
638
638
|
level: 'error',
|
|
639
639
|
instance,
|
|
@@ -683,7 +683,7 @@ class UnableToParseXMLError extends problem_error_1.ProblemError {
|
|
|
683
683
|
super({
|
|
684
684
|
title: 'Error parsing the XML file',
|
|
685
685
|
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-os-maven-0005',
|
|
686
|
-
status:
|
|
686
|
+
status: 422,
|
|
687
687
|
errorCode: 'SNYK-OS-MAVEN-0005',
|
|
688
688
|
level: 'error',
|
|
689
689
|
instance,
|
|
@@ -945,7 +945,7 @@ exports.SourceNotSupportedError = SourceNotSupportedError;
|
|
|
945
945
|
/**
|
|
946
946
|
* @class
|
|
947
947
|
* @name TimeoutWhenProcessingTheDepTreeError
|
|
948
|
-
* @description There was an timeout when processing the
|
|
948
|
+
* @description There was an timeout when processing the dependency tree.
|
|
949
949
|
* @summary Timeout when processing the dependency tree
|
|
950
950
|
* @category OpenSourceEcosystems
|
|
951
951
|
* @param {string} details the specific details that causes this error
|
|
@@ -1400,7 +1400,7 @@ exports.TooManyManifestFilesError = TooManyManifestFilesError;
|
|
|
1400
1400
|
/**
|
|
1401
1401
|
* @class
|
|
1402
1402
|
* @name FailedToApplyDependencyUpdatesError
|
|
1403
|
-
* @description An error
|
|
1403
|
+
* @description An error occurred while updating dependencies.
|
|
1404
1404
|
* @summary Failed to apply dependency updates
|
|
1405
1405
|
* @category OpenSourceEcosystems
|
|
1406
1406
|
* @param {string} details the specific details that causes this error
|
|
@@ -35,7 +35,7 @@ export declare class MavenSearchServiceUnavailableError extends ProblemError {
|
|
|
35
35
|
/**
|
|
36
36
|
* @class
|
|
37
37
|
* @name Sha1NotFoundError
|
|
38
|
-
* @description Unable to find the coordinates for the provided SHA1.
|
|
38
|
+
* @description Unable to find the coordinates for the provided SHA1. Please verify the data you are sending and try again.
|
|
39
39
|
*
|
|
40
40
|
* See more:
|
|
41
41
|
* - [https://docs.snyk.io/snyk-cli/test-for-vulnerabilities/scan-all-unmanaged-jar-files](https://docs.snyk.io/snyk-cli/test-for-vulnerabilities/scan-all-unmanaged-jar-files)
|
|
@@ -52,7 +52,7 @@ exports.MavenSearchServiceUnavailableError = MavenSearchServiceUnavailableError;
|
|
|
52
52
|
/**
|
|
53
53
|
* @class
|
|
54
54
|
* @name Sha1NotFoundError
|
|
55
|
-
* @description Unable to find the coordinates for the provided SHA1.
|
|
55
|
+
* @description Unable to find the coordinates for the provided SHA1. Please verify the data you are sending and try again.
|
|
56
56
|
*
|
|
57
57
|
* See more:
|
|
58
58
|
* - [https://docs.snyk.io/snyk-cli/test-for-vulnerabilities/scan-all-unmanaged-jar-files](https://docs.snyk.io/snyk-cli/test-for-vulnerabilities/scan-all-unmanaged-jar-files)
|
|
@@ -93,7 +93,7 @@ export declare class UnsupportedEcosystemError extends ProblemError {
|
|
|
93
93
|
/**
|
|
94
94
|
* @class
|
|
95
95
|
* @name MissingComponentError
|
|
96
|
-
* @description A list of components of the purl spec is required. The purl did not specify all the required components.
|
|
96
|
+
* @description A list of components of the purl spec is required. The purl did not specify all the required components. Please add the missing components to the purl and try again.
|
|
97
97
|
* @summary Purl components required
|
|
98
98
|
* @category PurlVulnerabilityFetching
|
|
99
99
|
* @param {string} details the specific details that causes this error
|
|
@@ -292,7 +292,7 @@ export declare class UndefinedContainerVendorError extends ProblemError {
|
|
|
292
292
|
/**
|
|
293
293
|
* @class
|
|
294
294
|
* @name UnsupportedContainerVendorError
|
|
295
|
-
* @description The given Package URL does not contain a supported vendor.
|
|
295
|
+
* @description The given Package URL does not contain a supported vendor. Please use one of the listed vendors and try again.
|
|
296
296
|
* @summary Unsupported vendor
|
|
297
297
|
* @category PurlVulnerabilityFetching
|
|
298
298
|
* @param {string} details the specific details that causes this error
|
|
@@ -155,7 +155,7 @@ exports.UnsupportedEcosystemError = UnsupportedEcosystemError;
|
|
|
155
155
|
/**
|
|
156
156
|
* @class
|
|
157
157
|
* @name MissingComponentError
|
|
158
|
-
* @description A list of components of the purl spec is required. The purl did not specify all the required components.
|
|
158
|
+
* @description A list of components of the purl spec is required. The purl did not specify all the required components. Please add the missing components to the purl and try again.
|
|
159
159
|
* @summary Purl components required
|
|
160
160
|
* @category PurlVulnerabilityFetching
|
|
161
161
|
* @param {string} details the specific details that causes this error
|
|
@@ -510,7 +510,7 @@ exports.UndefinedContainerVendorError = UndefinedContainerVendorError;
|
|
|
510
510
|
/**
|
|
511
511
|
* @class
|
|
512
512
|
* @name UnsupportedContainerVendorError
|
|
513
|
-
* @description The given Package URL does not contain a supported vendor.
|
|
513
|
+
* @description The given Package URL does not contain a supported vendor. Please use one of the listed vendors and try again.
|
|
514
514
|
* @summary Unsupported vendor
|
|
515
515
|
* @category PurlVulnerabilityFetching
|
|
516
516
|
* @param {string} details the specific details that causes this error
|
|
@@ -132,7 +132,7 @@ export declare class EmptyRequestBodyError extends ProblemError {
|
|
|
132
132
|
/**
|
|
133
133
|
* @class
|
|
134
134
|
* @name InvalidDepGraphError
|
|
135
|
-
* @description The
|
|
135
|
+
* @description The supplied dependency graph was not valid. Review the request, then try again.
|
|
136
136
|
* @summary Invalid dependency graph
|
|
137
137
|
* @category SbomExport
|
|
138
138
|
* @param {string} details the specific details that causes this error
|
|
@@ -225,7 +225,7 @@ exports.EmptyRequestBodyError = EmptyRequestBodyError;
|
|
|
225
225
|
/**
|
|
226
226
|
* @class
|
|
227
227
|
* @name InvalidDepGraphError
|
|
228
|
-
* @description The
|
|
228
|
+
* @description The supplied dependency graph was not valid. Review the request, then try again.
|
|
229
229
|
* @summary Invalid dependency graph
|
|
230
230
|
* @category SbomExport
|
|
231
231
|
* @param {string} details the specific details that causes this error
|
|
@@ -238,7 +238,7 @@ class InvalidDepGraphError extends problem_error_1.ProblemError {
|
|
|
238
238
|
super({
|
|
239
239
|
title: 'Invalid dependency graph',
|
|
240
240
|
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-os-9008',
|
|
241
|
-
status:
|
|
241
|
+
status: 422,
|
|
242
242
|
errorCode: 'SNYK-OS-9008',
|
|
243
243
|
level: 'warn',
|
|
244
244
|
instance,
|
|
@@ -31,7 +31,7 @@ export declare class TooManyRequestsError extends ProblemError {
|
|
|
31
31
|
/**
|
|
32
32
|
* @class
|
|
33
33
|
* @name NotImplementedError
|
|
34
|
-
* @description The server doesn
|
|
34
|
+
* @description The server doesn't recognize the request method, or it cannot fulfill it. Review the request and try again.
|
|
35
35
|
*
|
|
36
36
|
* See more:
|
|
37
37
|
* - [https://docs.snyk.io/snyk-api-info](https://docs.snyk.io/snyk-api-info)
|
|
@@ -45,7 +45,7 @@ exports.TooManyRequestsError = TooManyRequestsError;
|
|
|
45
45
|
/**
|
|
46
46
|
* @class
|
|
47
47
|
* @name NotImplementedError
|
|
48
|
-
* @description The server doesn
|
|
48
|
+
* @description The server doesn't recognize the request method, or it cannot fulfill it. Review the request and try again.
|
|
49
49
|
*
|
|
50
50
|
* See more:
|
|
51
51
|
* - [https://docs.snyk.io/snyk-api-info](https://docs.snyk.io/snyk-api-info)
|