@snyk/error-catalog-nodejs-public 5.51.0 → 5.53.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk/error-catalog-nodejs-public",
3
- "version": "5.51.0",
3
+ "version": "5.53.0",
4
4
  "type": "commonjs",
5
5
  "author": "snyk.io",
6
6
  "license": "Apache-2.0",
@@ -0,0 +1,64 @@
1
+ /*
2
+ * © 2025 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ProblemError } from '../problem-error';
17
+ /**
18
+ * @class
19
+ * @name InternalError
20
+ * @description An unexpected error occurred in the AI-BOM request. Review the request while providing the debug command flag `-d`. If the error persists, contact Snyk Support.
21
+ * @summary Unexpected error
22
+ * @category AiBom
23
+ * @param {string} details the specific details that causes this error
24
+ * @param {string} description the general description for this error
25
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
26
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
27
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
28
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
29
+ */
30
+ export declare class InternalError extends ProblemError {
31
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
32
+ }
33
+ /**
34
+ * @class
35
+ * @name ForbiddenError
36
+ * @description You or your Organization do not have permission to use the AI-BOM feature. Check your user permissions or contact Snyk support.
37
+ * @summary Forbidden
38
+ * @category AiBom
39
+ * @param {string} details the specific details that causes this error
40
+ * @param {string} description the general description for this error
41
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
42
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
43
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
44
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
45
+ */
46
+ export declare class ForbiddenError extends ProblemError {
47
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
48
+ }
49
+ /**
50
+ * @class
51
+ * @name NoSupportedFilesError
52
+ * @description Snyk was unable to find any supported files for the aibom command. Ensure the directory you are scanning contains supported files.
53
+ * @summary No supported files
54
+ * @category AiBom
55
+ * @param {string} details the specific details that causes this error
56
+ * @param {string} description the general description for this error
57
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
58
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
59
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
60
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
61
+ */
62
+ export declare class NoSupportedFilesError extends ProblemError {
63
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
64
+ }
@@ -0,0 +1,108 @@
1
+ /*
2
+ * © 2025 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ "use strict";
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.NoSupportedFilesError = exports.ForbiddenError = exports.InternalError = void 0;
19
+ const types_1 = require("../types");
20
+ const problem_error_1 = require("../problem-error");
21
+ /**
22
+ * @class
23
+ * @name InternalError
24
+ * @description An unexpected error occurred in the AI-BOM request. Review the request while providing the debug command flag `-d`. If the error persists, contact Snyk Support.
25
+ * @summary Unexpected error
26
+ * @category AiBom
27
+ * @param {string} details the specific details that causes this error
28
+ * @param {string} description the general description for this error
29
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
30
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
31
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
32
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
33
+ */
34
+ class InternalError extends problem_error_1.ProblemError {
35
+ constructor(details, additionalData, cause, instance, logs) {
36
+ super({
37
+ title: 'Unexpected error',
38
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ai-bom-0001',
39
+ status: 500,
40
+ description: `An unexpected error occurred in the AI-BOM request. Review the request while providing the debug command flag \`-d\`. If the error persists, contact Snyk Support.`,
41
+ errorCode: 'SNYK-AI-BOM-0001',
42
+ level: 'error',
43
+ classification: types_1.Classification.UNEXPECTED,
44
+ instance,
45
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
46
+ this.name = this.constructor.name;
47
+ }
48
+ }
49
+ exports.InternalError = InternalError;
50
+ /**
51
+ * @class
52
+ * @name ForbiddenError
53
+ * @description You or your Organization do not have permission to use the AI-BOM feature. Check your user permissions or contact Snyk support.
54
+ * @summary Forbidden
55
+ * @category AiBom
56
+ * @param {string} details the specific details that causes this error
57
+ * @param {string} description the general description for this error
58
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
59
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
60
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
61
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
62
+ */
63
+ class ForbiddenError extends problem_error_1.ProblemError {
64
+ constructor(details, additionalData, cause, instance, logs) {
65
+ super({
66
+ title: 'Forbidden',
67
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ai-bom-0002',
68
+ status: 403,
69
+ description: `You or your Organization do not have permission to use the AI-BOM feature. Check your user permissions or contact Snyk support.`,
70
+ errorCode: 'SNYK-AI-BOM-0002',
71
+ level: 'error',
72
+ classification: types_1.Classification.ACTIONABLE,
73
+ instance,
74
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
75
+ this.name = this.constructor.name;
76
+ }
77
+ }
78
+ exports.ForbiddenError = ForbiddenError;
79
+ /**
80
+ * @class
81
+ * @name NoSupportedFilesError
82
+ * @description Snyk was unable to find any supported files for the aibom command. Ensure the directory you are scanning contains supported files.
83
+ * @summary No supported files
84
+ * @category AiBom
85
+ * @param {string} details the specific details that causes this error
86
+ * @param {string} description the general description for this error
87
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
88
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
89
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
90
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
91
+ */
92
+ class NoSupportedFilesError extends problem_error_1.ProblemError {
93
+ constructor(details, additionalData, cause, instance, logs) {
94
+ super({
95
+ title: 'No supported files',
96
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ai-bom-0003',
97
+ status: 422,
98
+ description: `Snyk was unable to find any supported files for the aibom command. Ensure the directory you are scanning contains supported files.`,
99
+ errorCode: 'SNYK-AI-BOM-0003',
100
+ level: 'error',
101
+ classification: types_1.Classification.ACTIONABLE,
102
+ instance,
103
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
104
+ this.name = this.constructor.name;
105
+ }
106
+ }
107
+ exports.NoSupportedFilesError = NoSupportedFilesError;
108
+ //# sourceMappingURL=AiBom-error-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiBom-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/AiBom-error-catalog.ts"],"names":[],"m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;YACE,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,oIAAoI;YACjJ,SAAS,EAAE,kBAAkB;YAC7B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA7BD,sDA6BC"}
@@ -297,6 +297,22 @@ export declare class GeneralSASTFailureError extends ProblemError {
297
297
  export declare class FeatureUnderDevelopmentError extends ProblemError {
298
298
  constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
299
299
  }
300
+ /**
301
+ * @class
302
+ * @name CommandIsExperimentalError
303
+ * @description This CLI command is experimental, which means it can change and break at any time. To run this command you must specify the --experimental flag as acknowledgement.
304
+ * @summary Command is experimental
305
+ * @category CLI
306
+ * @param {string} details the specific details that causes this error
307
+ * @param {string} description the general description for this error
308
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
309
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
310
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
311
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
312
+ */
313
+ export declare class CommandIsExperimentalError extends ProblemError {
314
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
315
+ }
300
316
  /**
301
317
  * @class
302
318
  * @name ConnectionTimeoutError
@@ -15,7 +15,7 @@
15
15
  */
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ConnectionTimeoutError = exports.FeatureUnderDevelopmentError = exports.GeneralSASTFailureError = exports.GeneralIACFailureError = exports.GeneralSCAFailureError = exports.ValidationFailureError = exports.TooManyVulnerablePathsError = exports.NoSupportedFilesFoundError = exports.CommandArgsError = exports.AuthConfigError = exports.GetVulnsFromResourceFailedError = exports.InvalidFlagOptionError = exports.EmptyFlagOptionError = exports.ConfigEnvironmentConsistencyIssueError = exports.ConfigEnvironmentFailedError = exports.GeneralCLIFailureError = void 0;
18
+ exports.ConnectionTimeoutError = exports.CommandIsExperimentalError = exports.FeatureUnderDevelopmentError = exports.GeneralSASTFailureError = exports.GeneralIACFailureError = exports.GeneralSCAFailureError = exports.ValidationFailureError = exports.TooManyVulnerablePathsError = exports.NoSupportedFilesFoundError = exports.CommandArgsError = exports.AuthConfigError = exports.GetVulnsFromResourceFailedError = exports.InvalidFlagOptionError = exports.EmptyFlagOptionError = exports.ConfigEnvironmentConsistencyIssueError = exports.ConfigEnvironmentFailedError = exports.GeneralCLIFailureError = void 0;
19
19
  const types_1 = require("../types");
20
20
  const problem_error_1 = require("../problem-error");
21
21
  /**
@@ -527,6 +527,35 @@ class FeatureUnderDevelopmentError extends problem_error_1.ProblemError {
527
527
  }
528
528
  }
529
529
  exports.FeatureUnderDevelopmentError = FeatureUnderDevelopmentError;
530
+ /**
531
+ * @class
532
+ * @name CommandIsExperimentalError
533
+ * @description This CLI command is experimental, which means it can change and break at any time. To run this command you must specify the --experimental flag as acknowledgement.
534
+ * @summary Command is experimental
535
+ * @category CLI
536
+ * @param {string} details the specific details that causes this error
537
+ * @param {string} description the general description for this error
538
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
539
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
540
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
541
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
542
+ */
543
+ class CommandIsExperimentalError extends problem_error_1.ProblemError {
544
+ constructor(details, additionalData, cause, instance, logs) {
545
+ super({
546
+ title: 'Command is experimental',
547
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0015',
548
+ status: 200,
549
+ description: `This CLI command is experimental, which means it can change and break at any time. To run this command you must specify the --experimental flag as acknowledgement.`,
550
+ errorCode: 'SNYK-CLI-0015',
551
+ level: 'fatal',
552
+ classification: types_1.Classification.ACTIONABLE,
553
+ instance,
554
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
555
+ this.name = this.constructor.name;
556
+ }
557
+ }
558
+ exports.CommandIsExperimentalError = CommandIsExperimentalError;
530
559
  /**
531
560
  * @class
532
561
  * @name ConnectionTimeoutError
@@ -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;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sBAAuB,SAAQ,4BAAY;IACtD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,oLAAoL;YACjM,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,wCAAwC;gBACxC,sDAAsD;aACrD,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAhCD,wDAgCC;AAED;;;;;;;;;;;;;;;GAeG;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,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,CAAC;IACpC,CAAC;CACF;AA7BD,oEA6BC;AAED;;;;;;;;;;;;;;;;GAgBG;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,WAAW,EAAE,wFAAwF;YACrG,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;gBACzB,oCAAoC;aACnC,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAhCD,wDAgCC"}
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;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sBAAuB,SAAQ,4BAAY;IACtD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,oLAAoL;YACjM,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,wCAAwC;gBACxC,sDAAsD;aACrD,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAA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EAAE;gBACP,yBAAyB;gBACzB,oCAAoC;aACnC,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAhCD,wDAgCC"}
@@ -112,3 +112,19 @@ export declare class SsoReAuthRequiredError extends ProblemError {
112
112
  export declare class ProjectTooBigError extends ProblemError {
113
113
  constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
114
114
  }
115
+ /**
116
+ * @class
117
+ * @name DefaultImageNotFoundError
118
+ * @description Unable to find the default image. Please try again, and contact Snyk support if the error persists.
119
+ * @summary No default image found in repository
120
+ * @category IsolatedBuilds
121
+ * @param {string} details the specific details that causes this error
122
+ * @param {string} description the general description for this error
123
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
124
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
125
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
126
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
127
+ */
128
+ export declare class DefaultImageNotFoundError extends ProblemError {
129
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
130
+ }
@@ -15,7 +15,7 @@
15
15
  */
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ProjectTooBigError = exports.SsoReAuthRequiredError = exports.UnsupportedEcosystemError = exports.BuildEnvironmentNotFoundError = exports.InvalidRequestError = void 0;
18
+ exports.DefaultImageNotFoundError = exports.ProjectTooBigError = exports.SsoReAuthRequiredError = exports.UnsupportedEcosystemError = exports.BuildEnvironmentNotFoundError = exports.InvalidRequestError = void 0;
19
19
  const types_1 = require("../types");
20
20
  const problem_error_1 = require("../problem-error");
21
21
  /**
@@ -195,4 +195,33 @@ For node projects, please try again after removing requirement to generate a loc
195
195
  }
196
196
  }
197
197
  exports.ProjectTooBigError = ProjectTooBigError;
198
+ /**
199
+ * @class
200
+ * @name DefaultImageNotFoundError
201
+ * @description Unable to find the default image. Please try again, and contact Snyk support if the error persists.
202
+ * @summary No default image found in repository
203
+ * @category IsolatedBuilds
204
+ * @param {string} details the specific details that causes this error
205
+ * @param {string} description the general description for this error
206
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
207
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
208
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
209
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
210
+ */
211
+ class DefaultImageNotFoundError extends problem_error_1.ProblemError {
212
+ constructor(details, additionalData, cause, instance, logs) {
213
+ super({
214
+ title: 'No default image found in repository',
215
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-8006',
216
+ status: 500,
217
+ description: `Unable to find the default image. Please try again, and contact Snyk support if the error persists.`,
218
+ errorCode: 'SNYK-OS-8006',
219
+ level: 'error',
220
+ classification: types_1.Classification.UNEXPECTED,
221
+ instance,
222
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
223
+ this.name = this.constructor.name;
224
+ }
225
+ }
226
+ exports.DefaultImageNotFoundError = DefaultImageNotFoundError;
198
227
  //# sourceMappingURL=IsolatedBuilds-error-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IsolatedBuilds-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/IsolatedBuilds-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,4GAA4G;YACzH,SAAS,EAAE,cA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olatedBuilds-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/IsolatedBuilds-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,4GAA4G;YACzH,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,0BAA0B;aACzB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,kDA+BC;AAED;;;;;;;;;;;;GAYG;AACH,MAAa,6BAA8B,SAAQ,4BAAY;IAC7D,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,WAAW,EAAE,gIAAgI;YAC7I,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA7BD,sEA6BC;AAED;;;;;;;;;;;;;;;GA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AAE,mCAAmC;YAC1C,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;6GACwF;YACrG,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,kLAAkL;aACjL,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAhCD,gDAgCC;AAED;;;;;;;;;;;;GAYG;AACH,MAAa,yBAA0B,SAAQ,4BAAY;IACzD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,sCAAsC;YAC7C,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,qGAAqG;YAClH,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA7BD,8DA6BC"}
@@ -734,6 +734,200 @@ export declare class ToolchainNotAvailableError extends ProblemError {
734
734
  export declare class GolangSpaceLimitExceededError extends ProblemError {
735
735
  constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
736
736
  }
737
+ /**
738
+ * @class
739
+ * @name GolangNoSecureProtocolFoundError
740
+ * @description The Go toolchain could not find a secure protocol (HTTPS) to access the repository.
741
+ *
742
+ * This error typically occurs when the repository URL is not configured to use a secure protocol, or the necessary credentials for accessing the repository securely are not provided.
743
+ *
744
+ * Ensure that the repository URL uses a secure protocol (https://) and verify that the necessary authentication credentials (such as HTTPS credentials) are correctly configured and accessible by the Go toolchain.
745
+ *
746
+ * Note: SSH is not supported.
747
+ * @summary No secure protocol found for repository
748
+ * @category OpenSourceEcosystems
749
+ * @param {string} details the specific details that causes this error
750
+ * @param {string} description the general description for this error
751
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
752
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
753
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
754
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
755
+ */
756
+ export declare class GolangNoSecureProtocolFoundError extends ProblemError {
757
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
758
+ }
759
+ /**
760
+ * @class
761
+ * @name GolangConnectionResetByPeerError
762
+ * @description The Go toolchain encountered a connection reset error while trying to access the repository.
763
+ *
764
+ * This error typically occurs when the connection to the repository is unexpectedly closed by the remote server. This can be due to network issues, server configuration, or other transient problems.
765
+ *
766
+ * Try to reimport the project, if that does not work, please reach out to Snyk support.
767
+ * @summary Connection reset by peer
768
+ * @category OpenSourceEcosystems
769
+ * @param {string} details the specific details that causes this error
770
+ * @param {string} description the general description for this error
771
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
772
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
773
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
774
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
775
+ */
776
+ export declare class GolangConnectionResetByPeerError extends ProblemError {
777
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
778
+ }
779
+ /**
780
+ * @class
781
+ * @name GolangInvalidZipFileError
782
+ * @description The Go toolchain encountered an error while trying to download and extract a Go package version. The downloaded file is not a valid zip file.
783
+ *
784
+ * This error typically occurs when there is an issue with the downloaded file, such as corruption or an incomplete download.
785
+ *
786
+ * If the package that fails is a private package that's hosted in a private network, make sure the network is up and running and retry the import. If the issue persists, verify the integrity of the downloaded file and check for any issues with the source of the download.
787
+ *
788
+ * If the issue persists, please reach out to Snyk support.
789
+ * @summary Invalid zip file
790
+ * @category OpenSourceEcosystems
791
+ * @param {string} details the specific details that causes this error
792
+ * @param {string} description the general description for this error
793
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
794
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
795
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
796
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
797
+ */
798
+ export declare class GolangInvalidZipFileError extends ProblemError {
799
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
800
+ }
801
+ /**
802
+ * @class
803
+ * @name GolangVersionMismatchError
804
+ * @description The Go toolchain encountered a version mismatch error while trying to process the module.
805
+ *
806
+ * This usually happens when the version of Go that was used in the go.mod file is not yet supported by Snyk.
807
+ *
808
+ * We usually try and add support for new Golang versions shortly after a new one was released.
809
+ *
810
+ * If the Go version used in the go.mod file is supported based on our Golang documentation, please reach out to Snyk support.
811
+ *
812
+ * See more:
813
+ * - [https://docs.snyk.io/supported-languages-package-managers-and-frameworks/go/go-for-open-source#go-for-snyk-open-source-support](https://docs.snyk.io/supported-languages-package-managers-and-frameworks/go/go-for-open-source#go-for-snyk-open-source-support)
814
+ * @summary Go version mismatch
815
+ * @category OpenSourceEcosystems
816
+ * @param {string} details the specific details that causes this error
817
+ * @param {string} description the general description for this error
818
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
819
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
820
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
821
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
822
+ */
823
+ export declare class GolangVersionMismatchError extends ProblemError {
824
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
825
+ }
826
+ /**
827
+ * @class
828
+ * @name GolangInvalidGoVersionError
829
+ * @description The Go toolchain encountered an error while parsing the go.mod file. The specified Go version '__GOLANG_VERSION__' is invalid and must match the format 1.23.4.
830
+ *
831
+ * This error typically occurs when the Go version in the go.mod file is not correctly formatted.
832
+ *
833
+ * Ensure that the Go version specified in the go.mod file matches the required format (e.g., 1.23.4). Update the go.mod file with the correct Go version and try again.
834
+ * @summary Invalid Go version in go.mod
835
+ * @category OpenSourceEcosystems
836
+ * @param {string} details the specific details that causes this error
837
+ * @param {string} description the general description for this error
838
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
839
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
840
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
841
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
842
+ */
843
+ export declare class GolangInvalidGoVersionError extends ProblemError {
844
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
845
+ }
846
+ /**
847
+ * @class
848
+ * @name GolangDialTcpTimeoutError
849
+ * @description The Go toolchain encountered a timeout error while trying to fetch a module/package.
850
+ *
851
+ * This error typically occurs when the connection to the server hosting the module/package times out. This can be due to network issues, server configuration, or the server being unreachable.
852
+ *
853
+ * Ensure that the server hosting the module is reachable and that there are no network issues. If the issue persists, check if there are any restrictions or firewalls blocking access to the server.
854
+ * @summary Dial TCP timeout
855
+ * @category OpenSourceEcosystems
856
+ * @param {string} details the specific details that causes this error
857
+ * @param {string} description the general description for this error
858
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
859
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
860
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
861
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
862
+ */
863
+ export declare class GolangDialTcpTimeoutError extends ProblemError {
864
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
865
+ }
866
+ /**
867
+ * @class
868
+ * @name GolangHostKeyVerificationFailedError
869
+ * @description The Go toolchain encountered an error while trying to fetch a module/package. The host key verification failed, which means the key used to connect to the remote repository could not be verified.
870
+ *
871
+ * This error typically occurs when the key is not recognized or is incorrect. It can also happen if the remote repository's host key has changed.
872
+ *
873
+ * Ensure that the key used to connect to the remote repository is correct and properly configured. You may need to update the known_hosts file to include the correct host key for the remote repository. Verify your repository access configuration and try again.
874
+ *
875
+ * See more:
876
+ * - [https://docs.github.com/en/authentication/troubleshooting-ssh/error-host-key-verification-failed](https://docs.github.com/en/authentication/troubleshooting-ssh/error-host-key-verification-failed)
877
+ * @summary Host key verification failed
878
+ * @category OpenSourceEcosystems
879
+ * @param {string} details the specific details that causes this error
880
+ * @param {string} description the general description for this error
881
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
882
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
883
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
884
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
885
+ */
886
+ export declare class GolangHostKeyVerificationFailedError extends ProblemError {
887
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
888
+ }
889
+ /**
890
+ * @class
891
+ * @name GolangMissingModuleDeclarationError
892
+ * @description The Go toolchain encountered an error while reading the go.mod file. The error indicates that the module declaration is missing.
893
+ *
894
+ * This error typically occurs when the go.mod file does not specify the module path. To resolve this issue, you need to add a module declaration to the go.mod file.
895
+ *
896
+ * To specify the module path, run the following command: go mod edit -module=example.com/mod
897
+ *
898
+ * Update the go.mod file with the correct module path and try again.
899
+ * @summary Missing module declaration in go.mod
900
+ * @category OpenSourceEcosystems
901
+ * @param {string} details the specific details that causes this error
902
+ * @param {string} description the general description for this error
903
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
904
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
905
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
906
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
907
+ */
908
+ export declare class GolangMissingModuleDeclarationError extends ProblemError {
909
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
910
+ }
911
+ /**
912
+ * @class
913
+ * @name GolangModuleVersionConstraintNotMetError
914
+ * @description The Go toolchain encountered a version constraint violation while resolving dependencies.
915
+ *
916
+ * This error typically occurs when a module or dependency specifies a version requirement that is not satisfied by the current Go version in use. For example, a module may require "go >= 1.22.0", but your environment is running "go 1.21.0".
917
+ *
918
+ * To resolve this, ensure your Go toolchain version meets the module's specified constraint. This might involve upgrading or downgrading your Go version from Settings -> Snyk Open Source -> Edit settings for Go, or finding an alternative version of the module that is compatible with your current Go environment.
919
+ * @summary Go module version constraint not met
920
+ * @category OpenSourceEcosystems
921
+ * @param {string} details the specific details that causes this error
922
+ * @param {string} description the general description for this error
923
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
924
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
925
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
926
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
927
+ */
928
+ export declare class GolangModuleVersionConstraintNotMetError extends ProblemError {
929
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
930
+ }
737
931
  /**
738
932
  * @class
739
933
  * @name MissingRequirementFromPomError