@snyk/error-catalog-nodejs-public 5.32.2 → 5.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/package.json +1 -1
  2. package/src/catalogs/CLI-error-catalog.d.ts +3 -0
  3. package/src/catalogs/CLI-error-catalog.js +8 -0
  4. package/src/catalogs/CLI-error-catalog.js.map +1 -1
  5. package/src/catalogs/Code-error-catalog.d.ts +98 -0
  6. package/src/catalogs/Code-error-catalog.js +190 -1
  7. package/src/catalogs/Code-error-catalog.js.map +1 -1
  8. package/src/catalogs/CustomBaseImages-error-catalog.d.ts +19 -0
  9. package/src/catalogs/CustomBaseImages-error-catalog.js +43 -0
  10. package/src/catalogs/CustomBaseImages-error-catalog.js.map +1 -1
  11. package/src/catalogs/Fix-error-catalog.d.ts +22 -0
  12. package/src/catalogs/Fix-error-catalog.js +44 -0
  13. package/src/catalogs/Fix-error-catalog.js.map +1 -1
  14. package/src/catalogs/Integration-error-catalog.d.ts +1 -0
  15. package/src/catalogs/Integration-error-catalog.js +2 -0
  16. package/src/catalogs/Integration-error-catalog.js.map +1 -1
  17. package/src/catalogs/IsolatedBuilds-error-catalog.d.ts +4 -0
  18. package/src/catalogs/IsolatedBuilds-error-catalog.js +13 -0
  19. package/src/catalogs/IsolatedBuilds-error-catalog.js.map +1 -1
  20. package/src/catalogs/OpenAPI-error-catalog.d.ts +8 -0
  21. package/src/catalogs/OpenAPI-error-catalog.js +16 -0
  22. package/src/catalogs/OpenAPI-error-catalog.js.map +1 -1
  23. package/src/catalogs/OpenSourceEcosystems-error-catalog.d.ts +77 -0
  24. package/src/catalogs/OpenSourceEcosystems-error-catalog.js +352 -0
  25. package/src/catalogs/OpenSourceEcosystems-error-catalog.js.map +1 -1
  26. package/src/catalogs/OpenSourceProjectIssues-error-catalog.d.ts +5 -0
  27. package/src/catalogs/OpenSourceProjectIssues-error-catalog.js +10 -0
  28. package/src/catalogs/OpenSourceProjectIssues-error-catalog.js.map +1 -1
  29. package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.d.ts +5 -0
  30. package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js +10 -0
  31. package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js.map +1 -1
  32. package/src/catalogs/OpenSourceUnmanaged-error-catalog.d.ts +2 -0
  33. package/src/catalogs/OpenSourceUnmanaged-error-catalog.js +4 -0
  34. package/src/catalogs/OpenSourceUnmanaged-error-catalog.js.map +1 -1
  35. package/src/catalogs/PRChecks-error-catalog.d.ts +11 -0
  36. package/src/catalogs/PRChecks-error-catalog.js +61 -0
  37. package/src/catalogs/PRChecks-error-catalog.js.map +1 -1
  38. package/src/catalogs/Policies-error-catalog.d.ts +1 -0
  39. package/src/catalogs/Policies-error-catalog.js +3 -0
  40. package/src/catalogs/Policies-error-catalog.js.map +1 -1
  41. package/src/catalogs/PurlVulnerabilityFetching-error-catalog.d.ts +20 -0
  42. package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js +40 -0
  43. package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js.map +1 -1
  44. package/src/catalogs/SCM-error-catalog.d.ts +6 -0
  45. package/src/catalogs/SCM-error-catalog.js +16 -0
  46. package/src/catalogs/SCM-error-catalog.js.map +1 -1
  47. package/src/catalogs/SbomExport-error-catalog.d.ts +9 -0
  48. package/src/catalogs/SbomExport-error-catalog.js +18 -0
  49. package/src/catalogs/SbomExport-error-catalog.js.map +1 -1
  50. package/src/catalogs/SbomTest-error-catalog.d.ts +10 -0
  51. package/src/catalogs/SbomTest-error-catalog.js +29 -0
  52. package/src/catalogs/SbomTest-error-catalog.js.map +1 -1
  53. package/src/catalogs/Snyk-error-catalog.d.ts +8 -0
  54. package/src/catalogs/Snyk-error-catalog.js +23 -1
  55. package/src/catalogs/Snyk-error-catalog.js.map +1 -1
  56. package/src/catalogs/Target-error-catalog.d.ts +2 -0
  57. package/src/catalogs/Target-error-catalog.js +4 -0
  58. package/src/catalogs/Target-error-catalog.js.map +1 -1
  59. package/src/catalogs/error-codes.d.ts +5 -0
  60. package/src/catalogs/error-codes.js +5 -0
  61. package/src/catalogs/error-codes.js.map +1 -1
  62. package/src/problem-error.js +1 -1
  63. package/src/problem-error.js.map +1 -1
  64. package/src/types.d.ts +2 -1
  65. package/src/types.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk/error-catalog-nodejs-public",
3
- "version": "5.32.2",
3
+ "version": "5.34.0",
4
4
  "type": "commonjs",
5
5
  "author": "snyk.io",
6
6
  "license": "Apache-2.0",
@@ -24,6 +24,7 @@ import { ProblemError } from '../problem-error';
24
24
  * @summary Unable to set environment
25
25
  * @category CLI
26
26
  * @param {string} details the specific details that causes this error
27
+ * @param {string} description the general description for this error
27
28
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
28
29
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
29
30
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -44,6 +45,7 @@ export declare class ConfigEnvironmentFailedError extends ProblemError {
44
45
  * @summary Possible inconsistent configuration
45
46
  * @category CLI
46
47
  * @param {string} details the specific details that causes this error
48
+ * @param {string} description the general description for this error
47
49
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
48
50
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
49
51
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -62,6 +64,7 @@ export declare class ConfigEnvironmentConsistencyIssueError extends ProblemError
62
64
  * @summary Request to Snyk API timeout
63
65
  * @category CLI
64
66
  * @param {string} details the specific details that causes this error
67
+ * @param {string} description the general description for this error
65
68
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
66
69
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
67
70
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -28,6 +28,7 @@ const problem_error_1 = require("../problem-error");
28
28
  * @summary Unable to set environment
29
29
  * @category CLI
30
30
  * @param {string} details the specific details that causes this error
31
+ * @param {string} description the general description for this error
31
32
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
32
33
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
33
34
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -39,6 +40,7 @@ class ConfigEnvironmentFailedError extends problem_error_1.ProblemError {
39
40
  title: 'Unable to set environment',
40
41
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0001',
41
42
  status: 200,
43
+ description: `The specified environment cannot be used. As a result, the configuration remains unchanged.Provide the correct specifications for the environment and try again.`,
42
44
  errorCode: 'SNYK-CLI-0001',
43
45
  level: 'error',
44
46
  classification: types_1.Classification.ACTIONABLE,
@@ -62,6 +64,7 @@ exports.ConfigEnvironmentFailedError = ConfigEnvironmentFailedError;
62
64
  * @summary Possible inconsistent configuration
63
65
  * @category CLI
64
66
  * @param {string} details the specific details that causes this error
67
+ * @param {string} description the general description for this error
65
68
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
66
69
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
67
70
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -73,6 +76,9 @@ class ConfigEnvironmentConsistencyIssueError extends problem_error_1.ProblemErro
73
76
  title: 'Possible inconsistent configuration',
74
77
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0002',
75
78
  status: 200,
79
+ description: `You can configure the CLI in different ways, for example via Environment Variables or configuration file.
80
+ If one parameter is configured multiple times, it is probably unintentional and might cause unexpected behaviour.
81
+ Review configured environment variables and ensure that everything is intentional. If so, you can skip this check by using --no-check.`,
76
82
  errorCode: 'SNYK-CLI-0002',
77
83
  level: 'error',
78
84
  classification: types_1.Classification.ACTIONABLE,
@@ -94,6 +100,7 @@ exports.ConfigEnvironmentConsistencyIssueError = ConfigEnvironmentConsistencyIss
94
100
  * @summary Request to Snyk API timeout
95
101
  * @category CLI
96
102
  * @param {string} details the specific details that causes this error
103
+ * @param {string} description the general description for this error
97
104
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
98
105
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
99
106
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -105,6 +112,7 @@ class ConnectionTimeoutError extends problem_error_1.ProblemError {
105
112
  title: 'Request to Snyk API timeout',
106
113
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-7001',
107
114
  status: 504,
115
+ description: `A request to the Snyk API has unexpectedly timeout. Check Snyk status, then try again.`,
108
116
  errorCode: 'SNYK-OS-7001',
109
117
  level: 'error',
110
118
  classification: types_1.Classification.UNEXPECTED,
@@ -1 +1 @@
1
- {"version":3,"file":"CLI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CLI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,2DAA2D;aAC1D,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,oEA8BC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sCAAuC,SAAQ,4BAAY;IACtE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,qCAAqC;YAC5C,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,2DAA2D;aAC1D,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,wFA8BC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,sBAAuB,SAAQ,4BAAY;IACtD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,6BAA6B;YACpC,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,wDA8BC"}
1
+ {"version":3,"file":"CLI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CLI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YACl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,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,wDA+BC"}
@@ -28,6 +28,7 @@ import { ProblemError } from '../problem-error';
28
28
  * @summary Analysis file count limit exceeded
29
29
  * @category Code
30
30
  * @param {string} details the specific details that causes this error
31
+ * @param {string} description the general description for this error
31
32
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
32
33
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
33
34
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -49,6 +50,7 @@ export declare class AnalysisFileCountLimitExceededError extends ProblemError {
49
50
  * @summary Analysis result size limit exceeded
50
51
  * @category Code
51
52
  * @param {string} details the specific details that causes this error
53
+ * @param {string} description the general description for this error
52
54
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
53
55
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
54
56
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -69,6 +71,7 @@ export declare class AnalysisResultSizeLimitExceededError extends ProblemError {
69
71
  * @summary Analysis target size limit exceeded
70
72
  * @category Code
71
73
  * @param {string} details the specific details that causes this error
74
+ * @param {string} description the general description for this error
72
75
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
73
76
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
74
77
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -89,6 +92,7 @@ export declare class AnalysisTargetSizeLimitExceededError extends ProblemError {
89
92
  * @summary Analysis target includes a file with a name longer than 255 bytes
90
93
  * @category Code
91
94
  * @param {string} details the specific details that causes this error
95
+ * @param {string} description the general description for this error
92
96
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
93
97
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
94
98
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -107,6 +111,7 @@ export declare class AnalysisFileNameLengthLimitExceededError extends ProblemErr
107
111
  * @summary Snyk Code is not enabled
108
112
  * @category Code
109
113
  * @param {string} details the specific details that causes this error
114
+ * @param {string} description the general description for this error
110
115
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
111
116
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
112
117
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -125,6 +130,7 @@ export declare class FeatureIsNotEnabledError extends ProblemError {
125
130
  * @summary Project not supported
126
131
  * @category Code
127
132
  * @param {string} details the specific details that causes this error
133
+ * @param {string} description the general description for this error
128
134
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
129
135
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
130
136
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -133,3 +139,95 @@ export declare class FeatureIsNotEnabledError extends ProblemError {
133
139
  export declare class UnsupportedProjectError extends ProblemError {
134
140
  constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
135
141
  }
142
+ /**
143
+ * @class
144
+ * @name RuleExtensionAlreadyExistsForGroupError
145
+ * @description A Rule extension with the same type and attributes already exists
146
+ * for the given Group.
147
+ *
148
+ * Either modify the existing Rule extension or create a new
149
+ * Rule extension with a different type or attributes.
150
+ * @summary Rule extension already exists for the Group
151
+ * @category Code
152
+ * @param {string} details the specific details that causes this error
153
+ * @param {string} description the general description for this error
154
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
155
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
156
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
157
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
158
+ */
159
+ export declare class RuleExtensionAlreadyExistsForGroupError extends ProblemError {
160
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
161
+ }
162
+ /**
163
+ * @class
164
+ * @name OrgRelationshipsMustBeUniqueError
165
+ * @description Each Org relationship to a Snyk Code Rule extention must be unique.
166
+ *
167
+ * Make sure each Org in relationships has a different ID.
168
+ * @summary Organization relationships must be unique
169
+ * @category Code
170
+ * @param {string} details the specific details that causes this error
171
+ * @param {string} description the general description for this error
172
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
173
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
174
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
175
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
176
+ */
177
+ export declare class OrgRelationshipsMustBeUniqueError extends ProblemError {
178
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
179
+ }
180
+ /**
181
+ * @class
182
+ * @name GroupRelationshipMustBeForAdminGroupError
183
+ * @description You cannot associate a Snyk Code Rule extension to any other Group.
184
+ *
185
+ * Make sure the Group ID under relationships matches the Group ID in the request path.
186
+ * @summary Group relationship must match the Group in the requested URL
187
+ * @category Code
188
+ * @param {string} details the specific details that causes this error
189
+ * @param {string} description the general description for this error
190
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
191
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
192
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
193
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
194
+ */
195
+ export declare class GroupRelationshipMustBeForAdminGroupError extends ProblemError {
196
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
197
+ }
198
+ /**
199
+ * @class
200
+ * @name OrgOutsideAdminGroupError
201
+ * @description You cannot associate a Snyk Code Rule extension to an Org outside of the administrating Group.
202
+ *
203
+ * Make sure each Org under relationships is within the Group in the requested URL.
204
+ * @summary Organization outside of the administrating Group
205
+ * @category Code
206
+ * @param {string} details the specific details that causes this error
207
+ * @param {string} description the general description for this error
208
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
209
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
210
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
211
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
212
+ */
213
+ export declare class OrgOutsideAdminGroupError extends ProblemError {
214
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
215
+ }
216
+ /**
217
+ * @class
218
+ * @name RuleExtensionsLimitReachedError
219
+ * @description You have hit the maximum number of published Snyk Code Rule extensions allowed for a Group.
220
+ *
221
+ * To create a new Rule extension you will have to remove an existing one.
222
+ * @summary Rule extension limit reached
223
+ * @category Code
224
+ * @param {string} details the specific details that causes this error
225
+ * @param {string} description the general description for this error
226
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
227
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
228
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
229
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
230
+ */
231
+ export declare class RuleExtensionsLimitReachedError extends ProblemError {
232
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
233
+ }
@@ -15,7 +15,7 @@
15
15
  */
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.UnsupportedProjectError = exports.FeatureIsNotEnabledError = exports.AnalysisFileNameLengthLimitExceededError = exports.AnalysisTargetSizeLimitExceededError = exports.AnalysisResultSizeLimitExceededError = exports.AnalysisFileCountLimitExceededError = void 0;
18
+ exports.RuleExtensionsLimitReachedError = exports.OrgOutsideAdminGroupError = exports.GroupRelationshipMustBeForAdminGroupError = exports.OrgRelationshipsMustBeUniqueError = exports.RuleExtensionAlreadyExistsForGroupError = exports.UnsupportedProjectError = exports.FeatureIsNotEnabledError = exports.AnalysisFileNameLengthLimitExceededError = exports.AnalysisTargetSizeLimitExceededError = exports.AnalysisResultSizeLimitExceededError = exports.AnalysisFileCountLimitExceededError = void 0;
19
19
  const types_1 = require("../types");
20
20
  const problem_error_1 = require("../problem-error");
21
21
  /**
@@ -32,6 +32,7 @@ const problem_error_1 = require("../problem-error");
32
32
  * @summary Analysis file count limit exceeded
33
33
  * @category Code
34
34
  * @param {string} details the specific details that causes this error
35
+ * @param {string} description the general description for this error
35
36
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
36
37
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
37
38
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -43,6 +44,9 @@ class AnalysisFileCountLimitExceededError extends problem_error_1.ProblemError {
43
44
  title: 'Analysis file count limit exceeded',
44
45
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0001',
45
46
  status: 422,
47
+ description: `This error occurs when the analysis target has a supported file count that exceeds current system limits.
48
+
49
+ To reduce the file count, use a \`.snyk\` file to ignore specified directories or files. Alternatively, use the Snyk CLI to analyze individual subdirectories separately.`,
46
50
  errorCode: 'SNYK-CODE-0001',
47
51
  level: 'error',
48
52
  classification: types_1.Classification.UNSUPPORTED,
@@ -69,6 +73,7 @@ exports.AnalysisFileCountLimitExceededError = AnalysisFileCountLimitExceededErro
69
73
  * @summary Analysis result size limit exceeded
70
74
  * @category Code
71
75
  * @param {string} details the specific details that causes this error
76
+ * @param {string} description the general description for this error
72
77
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
73
78
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
74
79
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -80,6 +85,9 @@ class AnalysisResultSizeLimitExceededError extends problem_error_1.ProblemError
80
85
  title: 'Analysis result size limit exceeded',
81
86
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0002',
82
87
  status: 422,
88
+ description: `This error occurs when the analysis target generates a result with a byte size that exceeds current system limits.
89
+
90
+ To reduce the overall result size, use a \`.snyk\` file to ignore specified directories or files. Alternatively, use the Snyk CLI to analyze individual subdirectories separately.`,
83
91
  errorCode: 'SNYK-CODE-0002',
84
92
  level: 'error',
85
93
  classification: types_1.Classification.UNSUPPORTED,
@@ -104,6 +112,7 @@ exports.AnalysisResultSizeLimitExceededError = AnalysisResultSizeLimitExceededEr
104
112
  * @summary Analysis target size limit exceeded
105
113
  * @category Code
106
114
  * @param {string} details the specific details that causes this error
115
+ * @param {string} description the general description for this error
107
116
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
108
117
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
109
118
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -115,6 +124,9 @@ class AnalysisTargetSizeLimitExceededError extends problem_error_1.ProblemError
115
124
  title: 'Analysis target size limit exceeded',
116
125
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0003',
117
126
  status: 422,
127
+ description: `This error occurs when the analysis target byte size exceeds current system limits.
128
+
129
+ To reduce the overall result size, use a \`.snyk\` file to ignore specified directories or files. Alternatively, use the Snyk CLI to analyze individual subdirectories separately.`,
118
130
  errorCode: 'SNYK-CODE-0003',
119
131
  level: 'error',
120
132
  classification: types_1.Classification.UNSUPPORTED,
@@ -138,6 +150,7 @@ exports.AnalysisTargetSizeLimitExceededError = AnalysisTargetSizeLimitExceededEr
138
150
  * @summary Analysis target includes a file with a name longer than 255 bytes
139
151
  * @category Code
140
152
  * @param {string} details the specific details that causes this error
153
+ * @param {string} description the general description for this error
141
154
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
142
155
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
143
156
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -149,6 +162,9 @@ class AnalysisFileNameLengthLimitExceededError extends problem_error_1.ProblemEr
149
162
  title: 'Analysis target includes a file with a name longer than 255 bytes',
150
163
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0004',
151
164
  status: 422,
165
+ description: `This error occurs when the analysis target has a file name length that exceeds 255 bytes.
166
+
167
+ To be able to scan the analysis target, rename the file to a name that is 255 bytes or less.`,
152
168
  errorCode: 'SNYK-CODE-0004',
153
169
  level: 'error',
154
170
  classification: types_1.Classification.ACTIONABLE,
@@ -170,6 +186,7 @@ exports.AnalysisFileNameLengthLimitExceededError = AnalysisFileNameLengthLimitEx
170
186
  * @summary Snyk Code is not enabled
171
187
  * @category Code
172
188
  * @param {string} details the specific details that causes this error
189
+ * @param {string} description the general description for this error
173
190
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
174
191
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
175
192
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -181,6 +198,7 @@ class FeatureIsNotEnabledError extends problem_error_1.ProblemError {
181
198
  title: 'Snyk Code is not enabled',
182
199
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0005',
183
200
  status: 403,
201
+ description: `This error occurs when Snyk Code is not enabled for the current Organization. Activate Snyk Code and try again..`,
184
202
  errorCode: 'SNYK-CODE-0005',
185
203
  level: 'error',
186
204
  classification: types_1.Classification.ACTIONABLE,
@@ -202,6 +220,7 @@ exports.FeatureIsNotEnabledError = FeatureIsNotEnabledError;
202
220
  * @summary Project not supported
203
221
  * @category Code
204
222
  * @param {string} details the specific details that causes this error
223
+ * @param {string} description the general description for this error
205
224
  * @param {Classification} classification the error classification determining if the error is user-actionable or not
206
225
  * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
207
226
  * @param {Error} [cause] the `Error` type that caused this error to be thrown
@@ -213,6 +232,7 @@ class UnsupportedProjectError extends problem_error_1.ProblemError {
213
232
  title: 'Project not supported',
214
233
  type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0006',
215
234
  status: 422,
235
+ description: `Snyk was unable to find supported files.`,
216
236
  errorCode: 'SNYK-CODE-0006',
217
237
  level: 'error',
218
238
  classification: types_1.Classification.ACTIONABLE,
@@ -224,4 +244,173 @@ class UnsupportedProjectError extends problem_error_1.ProblemError {
224
244
  }
225
245
  }
226
246
  exports.UnsupportedProjectError = UnsupportedProjectError;
247
+ /**
248
+ * @class
249
+ * @name RuleExtensionAlreadyExistsForGroupError
250
+ * @description A Rule extension with the same type and attributes already exists
251
+ * for the given Group.
252
+ *
253
+ * Either modify the existing Rule extension or create a new
254
+ * Rule extension with a different type or attributes.
255
+ * @summary Rule extension already exists for the Group
256
+ * @category Code
257
+ * @param {string} details the specific details that causes this error
258
+ * @param {string} description the general description for this error
259
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
260
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
261
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
262
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
263
+ */
264
+ class RuleExtensionAlreadyExistsForGroupError extends problem_error_1.ProblemError {
265
+ constructor(details, additionalData, cause, instance, logs) {
266
+ super({
267
+ title: 'Rule extension already exists for the Group',
268
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0007',
269
+ status: 409,
270
+ description: `A Rule extension with the same type and attributes already exists
271
+ for the given Group.
272
+
273
+ Either modify the existing Rule extension or create a new
274
+ Rule extension with a different type or attributes.`,
275
+ errorCode: 'SNYK-CODE-0007',
276
+ level: 'error',
277
+ classification: types_1.Classification.ACTIONABLE,
278
+ instance,
279
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
280
+ this.name = this.constructor.name;
281
+ }
282
+ }
283
+ exports.RuleExtensionAlreadyExistsForGroupError = RuleExtensionAlreadyExistsForGroupError;
284
+ /**
285
+ * @class
286
+ * @name OrgRelationshipsMustBeUniqueError
287
+ * @description Each Org relationship to a Snyk Code Rule extention must be unique.
288
+ *
289
+ * Make sure each Org in relationships has a different ID.
290
+ * @summary Organization relationships must be unique
291
+ * @category Code
292
+ * @param {string} details the specific details that causes this error
293
+ * @param {string} description the general description for this error
294
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
295
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
296
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
297
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
298
+ */
299
+ class OrgRelationshipsMustBeUniqueError extends problem_error_1.ProblemError {
300
+ constructor(details, additionalData, cause, instance, logs) {
301
+ super({
302
+ title: 'Organization relationships must be unique',
303
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0008',
304
+ status: 400,
305
+ description: `Each Org relationship to a Snyk Code Rule extention must be unique.
306
+
307
+ Make sure each Org in relationships has a different ID.`,
308
+ errorCode: 'SNYK-CODE-0008',
309
+ level: 'error',
310
+ classification: types_1.Classification.ACTIONABLE,
311
+ instance,
312
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
313
+ this.name = this.constructor.name;
314
+ }
315
+ }
316
+ exports.OrgRelationshipsMustBeUniqueError = OrgRelationshipsMustBeUniqueError;
317
+ /**
318
+ * @class
319
+ * @name GroupRelationshipMustBeForAdminGroupError
320
+ * @description You cannot associate a Snyk Code Rule extension to any other Group.
321
+ *
322
+ * Make sure the Group ID under relationships matches the Group ID in the request path.
323
+ * @summary Group relationship must match the Group in the requested URL
324
+ * @category Code
325
+ * @param {string} details the specific details that causes this error
326
+ * @param {string} description the general description for this error
327
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
328
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
329
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
330
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
331
+ */
332
+ class GroupRelationshipMustBeForAdminGroupError extends problem_error_1.ProblemError {
333
+ constructor(details, additionalData, cause, instance, logs) {
334
+ super({
335
+ title: 'Group relationship must match the Group in the requested URL',
336
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0009',
337
+ status: 400,
338
+ description: `You cannot associate a Snyk Code Rule extension to any other Group.
339
+
340
+ Make sure the Group ID under relationships matches the Group ID in the request path.`,
341
+ errorCode: 'SNYK-CODE-0009',
342
+ level: 'error',
343
+ classification: types_1.Classification.ACTIONABLE,
344
+ instance,
345
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
346
+ this.name = this.constructor.name;
347
+ }
348
+ }
349
+ exports.GroupRelationshipMustBeForAdminGroupError = GroupRelationshipMustBeForAdminGroupError;
350
+ /**
351
+ * @class
352
+ * @name OrgOutsideAdminGroupError
353
+ * @description You cannot associate a Snyk Code Rule extension to an Org outside of the administrating Group.
354
+ *
355
+ * Make sure each Org under relationships is within the Group in the requested URL.
356
+ * @summary Organization outside of the administrating Group
357
+ * @category Code
358
+ * @param {string} details the specific details that causes this error
359
+ * @param {string} description the general description for this error
360
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
361
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
362
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
363
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
364
+ */
365
+ class OrgOutsideAdminGroupError extends problem_error_1.ProblemError {
366
+ constructor(details, additionalData, cause, instance, logs) {
367
+ super({
368
+ title: 'Organization outside of the administrating Group',
369
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0010',
370
+ status: 400,
371
+ description: `You cannot associate a Snyk Code Rule extension to an Org outside of the administrating Group.
372
+
373
+ Make sure each Org under relationships is within the Group in the requested URL.`,
374
+ errorCode: 'SNYK-CODE-0010',
375
+ level: 'error',
376
+ classification: types_1.Classification.ACTIONABLE,
377
+ instance,
378
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
379
+ this.name = this.constructor.name;
380
+ }
381
+ }
382
+ exports.OrgOutsideAdminGroupError = OrgOutsideAdminGroupError;
383
+ /**
384
+ * @class
385
+ * @name RuleExtensionsLimitReachedError
386
+ * @description You have hit the maximum number of published Snyk Code Rule extensions allowed for a Group.
387
+ *
388
+ * To create a new Rule extension you will have to remove an existing one.
389
+ * @summary Rule extension limit reached
390
+ * @category Code
391
+ * @param {string} details the specific details that causes this error
392
+ * @param {string} description the general description for this error
393
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
394
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
395
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
396
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
397
+ */
398
+ class RuleExtensionsLimitReachedError extends problem_error_1.ProblemError {
399
+ constructor(details, additionalData, cause, instance, logs) {
400
+ super({
401
+ title: 'Rule extension limit reached',
402
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0011',
403
+ status: 400,
404
+ description: `You have hit the maximum number of published Snyk Code Rule extensions allowed for a Group.
405
+
406
+ To create a new Rule extension you will have to remove an existing one.`,
407
+ errorCode: 'SNYK-CODE-0011',
408
+ level: 'error',
409
+ classification: types_1.Classification.ACTIONABLE,
410
+ instance,
411
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
412
+ this.name = this.constructor.name;
413
+ }
414
+ }
415
+ exports.RuleExtensionsLimitReachedError = RuleExtensionsLimitReachedError;
227
416
  //# sourceMappingURL=Code-error-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Code-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Code-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,mCAAoC,SAAQ,4BAAY;IACnE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OA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K,CACH;YACE,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,+HAA+H;aAC9H,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,0DA8BC"}
1
+ {"version":3,"file":"Code-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Code-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,mCAAoC,SAAQ,4BAAY;IACnE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;0KAEqJ;YAClK,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,oKAAoK;gBACpK,2KAA2K;gBAC3K,4DAA4D;aAC3D,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAnCD,kFAmCC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,oCAAqC,SAAQ,4BAAY;IACpE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,Q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