modestbench 0.0.2 → 0.1.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 (224) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +21 -19
  3. package/dist/bootstrap.cjs +0 -2
  4. package/dist/bootstrap.cjs.map +1 -1
  5. package/dist/bootstrap.d.cts.map +1 -1
  6. package/dist/bootstrap.d.ts.map +1 -1
  7. package/dist/bootstrap.js +0 -2
  8. package/dist/bootstrap.js.map +1 -1
  9. package/dist/cli/commands/history.cjs +2 -1
  10. package/dist/cli/commands/history.cjs.map +1 -1
  11. package/dist/cli/commands/history.d.cts.map +1 -1
  12. package/dist/cli/commands/history.d.ts.map +1 -1
  13. package/dist/cli/commands/history.js +2 -1
  14. package/dist/cli/commands/history.js.map +1 -1
  15. package/dist/cli/commands/init.cjs +5 -4
  16. package/dist/cli/commands/init.cjs.map +1 -1
  17. package/dist/cli/commands/init.d.cts.map +1 -1
  18. package/dist/cli/commands/init.d.ts.map +1 -1
  19. package/dist/cli/commands/init.js +5 -4
  20. package/dist/cli/commands/init.js.map +1 -1
  21. package/dist/cli/commands/run.cjs +28 -3
  22. package/dist/cli/commands/run.cjs.map +1 -1
  23. package/dist/cli/commands/run.d.cts.map +1 -1
  24. package/dist/cli/commands/run.d.ts.map +1 -1
  25. package/dist/cli/commands/run.js +28 -3
  26. package/dist/cli/commands/run.js.map +1 -1
  27. package/dist/cli/index.cjs +38 -14
  28. package/dist/cli/index.cjs.map +1 -1
  29. package/dist/cli/index.d.cts +1 -2
  30. package/dist/cli/index.d.cts.map +1 -1
  31. package/dist/cli/index.d.ts +1 -2
  32. package/dist/cli/index.d.ts.map +1 -1
  33. package/dist/cli/index.js +33 -9
  34. package/dist/cli/index.js.map +1 -1
  35. package/dist/config/manager.cjs +9 -3
  36. package/dist/config/manager.cjs.map +1 -1
  37. package/dist/config/manager.d.cts.map +1 -1
  38. package/dist/config/manager.d.ts.map +1 -1
  39. package/dist/config/manager.js +9 -3
  40. package/dist/config/manager.js.map +1 -1
  41. package/dist/constants.cjs +53 -1
  42. package/dist/constants.cjs.map +1 -1
  43. package/dist/constants.d.cts +36 -0
  44. package/dist/constants.d.cts.map +1 -1
  45. package/dist/constants.d.ts +36 -0
  46. package/dist/constants.d.ts.map +1 -1
  47. package/dist/constants.js +52 -0
  48. package/dist/constants.js.map +1 -1
  49. package/dist/core/engine.cjs +19 -42
  50. package/dist/core/engine.cjs.map +1 -1
  51. package/dist/core/engine.d.cts +1 -3
  52. package/dist/core/engine.d.cts.map +1 -1
  53. package/dist/core/engine.d.ts +1 -3
  54. package/dist/core/engine.d.ts.map +1 -1
  55. package/dist/core/engine.js +19 -42
  56. package/dist/core/engine.js.map +1 -1
  57. package/dist/core/engines/accurate-engine.cjs +2 -1
  58. package/dist/core/engines/accurate-engine.cjs.map +1 -1
  59. package/dist/core/engines/accurate-engine.d.cts.map +1 -1
  60. package/dist/core/engines/accurate-engine.d.ts.map +1 -1
  61. package/dist/core/engines/accurate-engine.js +2 -1
  62. package/dist/core/engines/accurate-engine.js.map +1 -1
  63. package/dist/core/engines/tinybench-engine.cjs +6 -5
  64. package/dist/core/engines/tinybench-engine.cjs.map +1 -1
  65. package/dist/core/engines/tinybench-engine.d.cts.map +1 -1
  66. package/dist/core/engines/tinybench-engine.d.ts.map +1 -1
  67. package/dist/core/engines/tinybench-engine.js +6 -5
  68. package/dist/core/engines/tinybench-engine.js.map +1 -1
  69. package/dist/core/loader.cjs +16 -5
  70. package/dist/core/loader.cjs.map +1 -1
  71. package/dist/core/loader.d.cts.map +1 -1
  72. package/dist/core/loader.d.ts.map +1 -1
  73. package/dist/core/loader.js +16 -5
  74. package/dist/core/loader.js.map +1 -1
  75. package/dist/errors/base.cjs +130 -0
  76. package/dist/errors/base.cjs.map +1 -0
  77. package/dist/errors/base.d.cts +97 -0
  78. package/dist/errors/base.d.cts.map +1 -0
  79. package/dist/errors/base.d.ts +97 -0
  80. package/dist/errors/base.d.ts.map +1 -0
  81. package/dist/errors/base.js +124 -0
  82. package/dist/errors/base.js.map +1 -0
  83. package/dist/errors/cli.cjs +58 -0
  84. package/dist/errors/cli.cjs.map +1 -0
  85. package/dist/errors/cli.d.cts +44 -0
  86. package/dist/errors/cli.d.cts.map +1 -0
  87. package/dist/errors/cli.d.ts +44 -0
  88. package/dist/errors/cli.d.ts.map +1 -0
  89. package/dist/errors/cli.js +52 -0
  90. package/dist/errors/cli.js.map +1 -0
  91. package/dist/errors/configuration.cjs +48 -0
  92. package/dist/errors/configuration.cjs.map +1 -0
  93. package/dist/errors/configuration.d.cts +41 -0
  94. package/dist/errors/configuration.d.cts.map +1 -0
  95. package/dist/errors/configuration.d.ts +41 -0
  96. package/dist/errors/configuration.d.ts.map +1 -0
  97. package/dist/errors/configuration.js +41 -0
  98. package/dist/errors/configuration.js.map +1 -0
  99. package/dist/errors/execution.cjs +65 -0
  100. package/dist/errors/execution.cjs.map +1 -0
  101. package/dist/errors/execution.d.cts +56 -0
  102. package/dist/errors/execution.d.cts.map +1 -0
  103. package/dist/errors/execution.d.ts +56 -0
  104. package/dist/errors/execution.d.ts.map +1 -0
  105. package/dist/errors/execution.js +56 -0
  106. package/dist/errors/execution.js.map +1 -0
  107. package/dist/errors/file.cjs +56 -0
  108. package/dist/errors/file.cjs.map +1 -0
  109. package/dist/errors/file.d.cts +48 -0
  110. package/dist/errors/file.d.cts.map +1 -0
  111. package/dist/errors/file.d.ts +48 -0
  112. package/dist/errors/file.d.ts.map +1 -0
  113. package/dist/errors/file.js +48 -0
  114. package/dist/errors/file.js.map +1 -0
  115. package/dist/errors/index.cjs +59 -0
  116. package/dist/errors/index.cjs.map +1 -0
  117. package/dist/errors/index.d.cts +16 -0
  118. package/dist/errors/index.d.cts.map +1 -0
  119. package/dist/errors/index.d.ts +16 -0
  120. package/dist/errors/index.d.ts.map +1 -0
  121. package/dist/errors/index.js +24 -0
  122. package/dist/errors/index.js.map +1 -0
  123. package/dist/errors/reporter.cjs +38 -0
  124. package/dist/errors/reporter.cjs.map +1 -0
  125. package/dist/errors/reporter.d.cts +32 -0
  126. package/dist/errors/reporter.d.cts.map +1 -0
  127. package/dist/errors/reporter.d.ts +32 -0
  128. package/dist/errors/reporter.d.ts.map +1 -0
  129. package/dist/errors/reporter.js +32 -0
  130. package/dist/errors/reporter.js.map +1 -0
  131. package/dist/errors/storage.cjs +55 -0
  132. package/dist/errors/storage.cjs.map +1 -0
  133. package/dist/errors/storage.d.cts +47 -0
  134. package/dist/errors/storage.d.cts.map +1 -0
  135. package/dist/errors/storage.d.ts +47 -0
  136. package/dist/errors/storage.d.ts.map +1 -0
  137. package/dist/errors/storage.js +47 -0
  138. package/dist/errors/storage.js.map +1 -0
  139. package/dist/errors/validation.cjs +38 -0
  140. package/dist/errors/validation.cjs.map +1 -0
  141. package/dist/errors/validation.d.cts +32 -0
  142. package/dist/errors/validation.d.cts.map +1 -0
  143. package/dist/errors/validation.d.ts +32 -0
  144. package/dist/errors/validation.d.ts.map +1 -0
  145. package/dist/errors/validation.js +32 -0
  146. package/dist/errors/validation.js.map +1 -0
  147. package/dist/index.cjs +3 -4
  148. package/dist/index.cjs.map +1 -1
  149. package/dist/index.d.cts +1 -1
  150. package/dist/index.d.cts.map +1 -1
  151. package/dist/index.d.ts +1 -1
  152. package/dist/index.d.ts.map +1 -1
  153. package/dist/index.js +2 -2
  154. package/dist/index.js.map +1 -1
  155. package/dist/reporters/csv.cjs +3 -2
  156. package/dist/reporters/csv.cjs.map +1 -1
  157. package/dist/reporters/csv.d.cts.map +1 -1
  158. package/dist/reporters/csv.d.ts.map +1 -1
  159. package/dist/reporters/csv.js +3 -2
  160. package/dist/reporters/csv.js.map +1 -1
  161. package/dist/reporters/human.cjs +2 -2
  162. package/dist/reporters/human.js +2 -2
  163. package/dist/reporters/json.cjs +3 -2
  164. package/dist/reporters/json.cjs.map +1 -1
  165. package/dist/reporters/json.d.cts.map +1 -1
  166. package/dist/reporters/json.d.ts.map +1 -1
  167. package/dist/reporters/json.js +3 -2
  168. package/dist/reporters/json.js.map +1 -1
  169. package/dist/reporters/registry.cjs +3 -2
  170. package/dist/reporters/registry.cjs.map +1 -1
  171. package/dist/reporters/registry.d.cts.map +1 -1
  172. package/dist/reporters/registry.d.ts.map +1 -1
  173. package/dist/reporters/registry.js +3 -2
  174. package/dist/reporters/registry.js.map +1 -1
  175. package/dist/reporters/simple.cjs +1 -1
  176. package/dist/reporters/simple.js +1 -1
  177. package/dist/storage/history.cjs +32 -11
  178. package/dist/storage/history.cjs.map +1 -1
  179. package/dist/storage/history.d.cts.map +1 -1
  180. package/dist/storage/history.d.ts.map +1 -1
  181. package/dist/storage/history.js +32 -11
  182. package/dist/storage/history.js.map +1 -1
  183. package/dist/types/interfaces.d.cts +1 -34
  184. package/dist/types/interfaces.d.cts.map +1 -1
  185. package/dist/types/interfaces.d.ts +1 -34
  186. package/dist/types/interfaces.d.ts.map +1 -1
  187. package/package.json +12 -8
  188. package/src/bootstrap.ts +0 -2
  189. package/src/cli/commands/history.ts +3 -1
  190. package/src/cli/commands/init.ts +14 -4
  191. package/src/cli/commands/run.ts +36 -3
  192. package/src/cli/index.ts +41 -15
  193. package/src/config/manager.ts +13 -3
  194. package/src/constants.ts +60 -0
  195. package/src/core/engine.ts +35 -49
  196. package/src/core/engines/accurate-engine.ts +4 -1
  197. package/src/core/engines/tinybench-engine.ts +12 -5
  198. package/src/core/loader.ts +27 -5
  199. package/src/errors/base.ts +152 -0
  200. package/src/errors/cli.ts +59 -0
  201. package/src/errors/configuration.ts +45 -0
  202. package/src/errors/execution.ts +62 -0
  203. package/src/errors/file.ts +53 -0
  204. package/src/errors/index.ts +71 -0
  205. package/src/errors/reporter.ts +35 -0
  206. package/src/errors/storage.ts +52 -0
  207. package/src/errors/validation.ts +35 -0
  208. package/src/index.ts +3 -3
  209. package/src/reporters/csv.ts +4 -2
  210. package/src/reporters/human.ts +2 -2
  211. package/src/reporters/json.ts +4 -2
  212. package/src/reporters/registry.ts +9 -2
  213. package/src/reporters/simple.ts +1 -1
  214. package/src/storage/history.ts +58 -11
  215. package/src/types/interfaces.ts +0 -43
  216. package/dist/core/error-manager.cjs +0 -303
  217. package/dist/core/error-manager.cjs.map +0 -1
  218. package/dist/core/error-manager.d.cts +0 -77
  219. package/dist/core/error-manager.d.cts.map +0 -1
  220. package/dist/core/error-manager.d.ts +0 -77
  221. package/dist/core/error-manager.d.ts.map +0 -1
  222. package/dist/core/error-manager.js +0 -299
  223. package/dist/core/error-manager.js.map +0 -1
  224. package/src/core/error-manager.ts +0 -372
@@ -0,0 +1,97 @@
1
+ /**
2
+ * ModestBench Custom Error System
3
+ *
4
+ * Base error classes providing structured error handling with error codes,
5
+ * documentation URLs, and consistent error display.
6
+ */
7
+ /**
8
+ * Abstract base class for ModestBench aggregate errors
9
+ *
10
+ * Extends AggregateError to support multiple errors with ModestBench error
11
+ * system features.
12
+ */
13
+ export declare abstract class ModestBenchAggregateError extends AggregateError {
14
+ /**
15
+ * Unique error code for this error type Must be in format:
16
+ * ERR_MB_CATEGORY_DESCRIPTION
17
+ */
18
+ abstract readonly code: string;
19
+ /**
20
+ * Error name (matches class name)
21
+ */
22
+ readonly name: string;
23
+ /**
24
+ * Create a new ModestBench aggregate error
25
+ *
26
+ * @param errors - Array of errors that occurred
27
+ * @param message - Human-readable error message
28
+ * @param options - Optional Error options (e.g., cause)
29
+ */
30
+ constructor(errors: unknown[], message: string, options?: ErrorOptions);
31
+ /**
32
+ * Get the documentation URL for this error
33
+ *
34
+ * Returns a URL to the error reference page with an anchor to the specific
35
+ * error.
36
+ *
37
+ * @returns Documentation URL
38
+ */
39
+ getDocUrl(): string;
40
+ /**
41
+ * Convert error to string with code, documentation URL, and nested errors
42
+ *
43
+ * @returns Formatted error string
44
+ */
45
+ toString(): string;
46
+ }
47
+ /**
48
+ * Abstract base class for all ModestBench errors
49
+ *
50
+ * Provides:
51
+ *
52
+ * - Unique error codes with ERR_MB_ prefix
53
+ * - Documentation URL generation
54
+ * - Consistent error display format
55
+ * - TypeScript type safety
56
+ */
57
+ export declare abstract class ModestBenchError extends Error {
58
+ /**
59
+ * Unique error code for this error type Must be in format:
60
+ * ERR_MB_CATEGORY_DESCRIPTION
61
+ */
62
+ abstract readonly code: string;
63
+ /**
64
+ * Error name (matches class name)
65
+ */
66
+ readonly name: string;
67
+ /**
68
+ * Create a new ModestBench error
69
+ *
70
+ * @param message - Human-readable error message
71
+ * @param options - Optional Error options (e.g., cause)
72
+ */
73
+ constructor(message: string, options?: ErrorOptions);
74
+ /**
75
+ * Get the documentation URL for this error
76
+ *
77
+ * Returns a URL to the error reference page with an anchor to the specific
78
+ * error.
79
+ *
80
+ * @returns Documentation URL
81
+ */
82
+ getDocUrl(): string;
83
+ /**
84
+ * Convert error to string with code and documentation URL
85
+ *
86
+ * @returns Formatted error string
87
+ */
88
+ toString(): string;
89
+ }
90
+ /**
91
+ * Type guard to check if an error is a ModestBench error
92
+ *
93
+ * @param error - The error to check
94
+ * @returns True if the error is a ModestBench error
95
+ */
96
+ export declare const isModestBenchError: (error: unknown) => error is ModestBenchError;
97
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/errors/base.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH;;;;;GAKG;AACH,8BAAsB,yBAA0B,SAAQ,cAAc;IACpE;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,SAAyB,IAAI,EAAE,MAAM,CAAC;IAEtC;;;;;;OAMG;gBACS,MAAM,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;IAKtE;;;;;;;OAOG;IACH,SAAS,IAAI,MAAM;IAMnB;;;;OAIG;IACM,QAAQ,IAAI,MAAM;CAc5B;AAED;;;;;;;;;GASG;AACH,8BAAsB,gBAAiB,SAAQ,KAAK;IAClD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,SAAyB,IAAI,EAAE,MAAM,CAAC;IAEtC;;;;;OAKG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;IAKnD;;;;;;;OAOG;IACH,SAAS,IAAI,MAAM;IAMnB;;;;OAIG;IACM,QAAQ,IAAI,MAAM;CAG5B;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,OAAO,KACb,KAAK,IAAI,gBAQX,CAAC"}
@@ -0,0 +1,124 @@
1
+ /**
2
+ * ModestBench Custom Error System
3
+ *
4
+ * Base error classes providing structured error handling with error codes,
5
+ * documentation URLs, and consistent error display.
6
+ */
7
+ /**
8
+ * Base URL for error documentation
9
+ */
10
+ const ERROR_DOC_BASE_URL = 'https://boneskull.github.io/modestbench/reference/errors';
11
+ /**
12
+ * Abstract base class for ModestBench aggregate errors
13
+ *
14
+ * Extends AggregateError to support multiple errors with ModestBench error
15
+ * system features.
16
+ */
17
+ export class ModestBenchAggregateError extends AggregateError {
18
+ /**
19
+ * Error name (matches class name)
20
+ */
21
+ name;
22
+ /**
23
+ * Create a new ModestBench aggregate error
24
+ *
25
+ * @param errors - Array of errors that occurred
26
+ * @param message - Human-readable error message
27
+ * @param options - Optional Error options (e.g., cause)
28
+ */
29
+ constructor(errors, message, options) {
30
+ super(errors, message, options);
31
+ this.name = this.constructor.name;
32
+ }
33
+ /**
34
+ * Get the documentation URL for this error
35
+ *
36
+ * Returns a URL to the error reference page with an anchor to the specific
37
+ * error.
38
+ *
39
+ * @returns Documentation URL
40
+ */
41
+ getDocUrl() {
42
+ // Use the error class name as the anchor (e.g., ConfigValidationError -> #configvalidationerror)
43
+ const anchor = this.name.toLowerCase();
44
+ return `${ERROR_DOC_BASE_URL}#${anchor}`;
45
+ }
46
+ /**
47
+ * Convert error to string with code, documentation URL, and nested errors
48
+ *
49
+ * @returns Formatted error string
50
+ */
51
+ toString() {
52
+ let result = `${this.name} [${this.code}]: ${this.message}\n`;
53
+ result += `See: ${this.getDocUrl()}\n`;
54
+ if (this.errors.length > 0) {
55
+ result += `\nContains ${this.errors.length} error(s):\n`;
56
+ this.errors.forEach((err, index) => {
57
+ const errMsg = err instanceof Error ? err.message : String(err);
58
+ result += ` ${index + 1}. ${errMsg}\n`;
59
+ });
60
+ }
61
+ return result;
62
+ }
63
+ }
64
+ /**
65
+ * Abstract base class for all ModestBench errors
66
+ *
67
+ * Provides:
68
+ *
69
+ * - Unique error codes with ERR_MB_ prefix
70
+ * - Documentation URL generation
71
+ * - Consistent error display format
72
+ * - TypeScript type safety
73
+ */
74
+ export class ModestBenchError extends Error {
75
+ /**
76
+ * Error name (matches class name)
77
+ */
78
+ name;
79
+ /**
80
+ * Create a new ModestBench error
81
+ *
82
+ * @param message - Human-readable error message
83
+ * @param options - Optional Error options (e.g., cause)
84
+ */
85
+ constructor(message, options) {
86
+ super(message, options);
87
+ this.name = this.constructor.name;
88
+ }
89
+ /**
90
+ * Get the documentation URL for this error
91
+ *
92
+ * Returns a URL to the error reference page with an anchor to the specific
93
+ * error.
94
+ *
95
+ * @returns Documentation URL
96
+ */
97
+ getDocUrl() {
98
+ // Use the error class name as the anchor (e.g., ConfigValidationError -> #configvalidationerror)
99
+ const anchor = this.name.toLowerCase();
100
+ return `${ERROR_DOC_BASE_URL}#${anchor}`;
101
+ }
102
+ /**
103
+ * Convert error to string with code and documentation URL
104
+ *
105
+ * @returns Formatted error string
106
+ */
107
+ toString() {
108
+ return `${this.name} [${this.code}]: ${this.message}\nSee: ${this.getDocUrl()}`;
109
+ }
110
+ }
111
+ /**
112
+ * Type guard to check if an error is a ModestBench error
113
+ *
114
+ * @param error - The error to check
115
+ * @returns True if the error is a ModestBench error
116
+ */
117
+ export const isModestBenchError = (error) => {
118
+ return (typeof error === 'object' &&
119
+ error !== null &&
120
+ 'code' in error &&
121
+ typeof error.code === 'string' &&
122
+ error.code.startsWith('ERR_MB_'));
123
+ };
124
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/errors/base.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,kBAAkB,GACtB,0DAA0D,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,OAAgB,yBAA0B,SAAQ,cAAc;IAOpE;;OAEG;IACsB,IAAI,CAAS;IAEtC;;;;;;OAMG;IACH,YAAY,MAAiB,EAAE,OAAe,EAAE,OAAsB;QACpE,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;IAED;;;;;;;OAOG;IACH,SAAS;QACP,iGAAiG;QACjG,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;QACvC,OAAO,GAAG,kBAAkB,IAAI,MAAM,EAAE,CAAC;IAC3C,CAAC;IAED;;;;OAIG;IACM,QAAQ;QACf,IAAI,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,MAAM,IAAI,CAAC,OAAO,IAAI,CAAC;QAC9D,MAAM,IAAI,QAAQ,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC;QAEvC,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC3B,MAAM,IAAI,cAAc,IAAI,CAAC,MAAM,CAAC,MAAM,cAAc,CAAC;YACzD,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE;gBACjC,MAAM,MAAM,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAChE,MAAM,IAAI,KAAK,KAAK,GAAG,CAAC,KAAK,MAAM,IAAI,CAAC;YAC1C,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAgB,gBAAiB,SAAQ,KAAK;IAOlD;;OAEG;IACsB,IAAI,CAAS;IAEtC;;;;;OAKG;IACH,YAAY,OAAe,EAAE,OAAsB;QACjD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;IAED;;;;;;;OAOG;IACH,SAAS;QACP,iGAAiG;QACjG,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;QACvC,OAAO,GAAG,kBAAkB,IAAI,MAAM,EAAE,CAAC;IAC3C,CAAC;IAED;;;;OAIG;IACM,QAAQ;QACf,OAAO,GAAG,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,MAAM,IAAI,CAAC,OAAO,UAAU,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;IAClF,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,KAAc,EACa,EAAE;IAC7B,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,OAAQ,KAA2B,CAAC,IAAI,KAAK,QAAQ;QACpD,KAA0B,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CACvD,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * CLI-related errors
4
+ *
5
+ * Errors that occur during command-line interface operations.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.UnknownError = exports.InvalidDateFormatError = exports.InvalidArgumentError = void 0;
9
+ const base_js_1 = require("./base.cjs");
10
+ /**
11
+ * Invalid CLI argument
12
+ *
13
+ * Thrown when a CLI argument is invalid or cannot be parsed.
14
+ */
15
+ class InvalidArgumentError extends base_js_1.ModestBenchError {
16
+ code = 'ERR_MB_CLI_INVALID_ARGUMENT';
17
+ }
18
+ exports.InvalidArgumentError = InvalidArgumentError;
19
+ /**
20
+ * Invalid date format
21
+ *
22
+ * Thrown when a date string cannot be parsed into a valid date.
23
+ */
24
+ class InvalidDateFormatError extends base_js_1.ModestBenchError {
25
+ code = 'ERR_MB_CLI_INVALID_DATE_FORMAT';
26
+ }
27
+ exports.InvalidDateFormatError = InvalidDateFormatError;
28
+ /**
29
+ * Unknown error
30
+ *
31
+ * Thrown at the CLI boundary to wrap unexpected errors that are not ModestBench
32
+ * errors. This ensures all errors have proper structure and documentation
33
+ * links.
34
+ */
35
+ class UnknownError extends base_js_1.ModestBenchError {
36
+ code = 'ERR_MB_UNKNOWN';
37
+ /**
38
+ * Create a new UnknownError wrapping an unexpected error
39
+ *
40
+ * @param message - The error message (typically from the original error)
41
+ * @param options - Error options with the original error as the cause
42
+ */
43
+ constructor(message, options) {
44
+ super(message, options);
45
+ }
46
+ /**
47
+ * Override toString to show full details of the wrapped error
48
+ */
49
+ toString() {
50
+ let result = super.toString();
51
+ if (this.cause instanceof Error && this.cause.stack) {
52
+ result += '\n\nOriginal error:\n' + this.cause.stack;
53
+ }
54
+ return result;
55
+ }
56
+ }
57
+ exports.UnknownError = UnknownError;
58
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/errors/cli.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,wCAA6C;AAE7C;;;;GAIG;AACH,MAAa,oBAAqB,SAAQ,0BAAgB;IAC/C,IAAI,GAAG,6BAA6B,CAAC;CAC/C;AAFD,oDAEC;AAED;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,0BAAgB;IACjD,IAAI,GAAG,gCAAgC,CAAC;CAClD;AAFD,wDAEC;AAED;;;;;;GAMG;AACH,MAAa,YAAa,SAAQ,0BAAgB;IACvC,IAAI,GAAG,gBAAgB,CAAC;IAEjC;;;;;OAKG;IACH,YAAY,OAAe,EAAE,OAAqB;QAChD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;IAED;;OAEG;IACM,QAAQ;QACf,IAAI,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;QAE9B,IAAI,IAAI,CAAC,KAAK,YAAY,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACpD,MAAM,IAAI,uBAAuB,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QACvD,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAzBD,oCAyBC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * CLI-related errors
3
+ *
4
+ * Errors that occur during command-line interface operations.
5
+ */
6
+ import { ModestBenchError } from "./base.cjs";
7
+ /**
8
+ * Invalid CLI argument
9
+ *
10
+ * Thrown when a CLI argument is invalid or cannot be parsed.
11
+ */
12
+ export declare class InvalidArgumentError extends ModestBenchError {
13
+ readonly code = "ERR_MB_CLI_INVALID_ARGUMENT";
14
+ }
15
+ /**
16
+ * Invalid date format
17
+ *
18
+ * Thrown when a date string cannot be parsed into a valid date.
19
+ */
20
+ export declare class InvalidDateFormatError extends ModestBenchError {
21
+ readonly code = "ERR_MB_CLI_INVALID_DATE_FORMAT";
22
+ }
23
+ /**
24
+ * Unknown error
25
+ *
26
+ * Thrown at the CLI boundary to wrap unexpected errors that are not ModestBench
27
+ * errors. This ensures all errors have proper structure and documentation
28
+ * links.
29
+ */
30
+ export declare class UnknownError extends ModestBenchError {
31
+ readonly code = "ERR_MB_UNKNOWN";
32
+ /**
33
+ * Create a new UnknownError wrapping an unexpected error
34
+ *
35
+ * @param message - The error message (typically from the original error)
36
+ * @param options - Error options with the original error as the cause
37
+ */
38
+ constructor(message: string, options: ErrorOptions);
39
+ /**
40
+ * Override toString to show full details of the wrapped error
41
+ */
42
+ toString(): string;
43
+ }
44
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/errors/cli.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,mBAAkB;AAE7C;;;;GAIG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,QAAQ,CAAC,IAAI,iCAAiC;CAC/C;AAED;;;;GAIG;AACH,qBAAa,sBAAuB,SAAQ,gBAAgB;IAC1D,QAAQ,CAAC,IAAI,oCAAoC;CAClD;AAED;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,gBAAgB;IAChD,QAAQ,CAAC,IAAI,oBAAoB;IAEjC;;;;;OAKG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY;IAIlD;;OAEG;IACM,QAAQ,IAAI,MAAM;CAS5B"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * CLI-related errors
3
+ *
4
+ * Errors that occur during command-line interface operations.
5
+ */
6
+ import { ModestBenchError } from "./base.js";
7
+ /**
8
+ * Invalid CLI argument
9
+ *
10
+ * Thrown when a CLI argument is invalid or cannot be parsed.
11
+ */
12
+ export declare class InvalidArgumentError extends ModestBenchError {
13
+ readonly code = "ERR_MB_CLI_INVALID_ARGUMENT";
14
+ }
15
+ /**
16
+ * Invalid date format
17
+ *
18
+ * Thrown when a date string cannot be parsed into a valid date.
19
+ */
20
+ export declare class InvalidDateFormatError extends ModestBenchError {
21
+ readonly code = "ERR_MB_CLI_INVALID_DATE_FORMAT";
22
+ }
23
+ /**
24
+ * Unknown error
25
+ *
26
+ * Thrown at the CLI boundary to wrap unexpected errors that are not ModestBench
27
+ * errors. This ensures all errors have proper structure and documentation
28
+ * links.
29
+ */
30
+ export declare class UnknownError extends ModestBenchError {
31
+ readonly code = "ERR_MB_UNKNOWN";
32
+ /**
33
+ * Create a new UnknownError wrapping an unexpected error
34
+ *
35
+ * @param message - The error message (typically from the original error)
36
+ * @param options - Error options with the original error as the cause
37
+ */
38
+ constructor(message: string, options: ErrorOptions);
39
+ /**
40
+ * Override toString to show full details of the wrapped error
41
+ */
42
+ toString(): string;
43
+ }
44
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/errors/cli.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB;AAE7C;;;;GAIG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,QAAQ,CAAC,IAAI,iCAAiC;CAC/C;AAED;;;;GAIG;AACH,qBAAa,sBAAuB,SAAQ,gBAAgB;IAC1D,QAAQ,CAAC,IAAI,oCAAoC;CAClD;AAED;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,gBAAgB;IAChD,QAAQ,CAAC,IAAI,oBAAoB;IAEjC;;;;;OAKG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY;IAIlD;;OAEG;IACM,QAAQ,IAAI,MAAM;CAS5B"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * CLI-related errors
3
+ *
4
+ * Errors that occur during command-line interface operations.
5
+ */
6
+ import { ModestBenchError } from "./base.js";
7
+ /**
8
+ * Invalid CLI argument
9
+ *
10
+ * Thrown when a CLI argument is invalid or cannot be parsed.
11
+ */
12
+ export class InvalidArgumentError extends ModestBenchError {
13
+ code = 'ERR_MB_CLI_INVALID_ARGUMENT';
14
+ }
15
+ /**
16
+ * Invalid date format
17
+ *
18
+ * Thrown when a date string cannot be parsed into a valid date.
19
+ */
20
+ export class InvalidDateFormatError extends ModestBenchError {
21
+ code = 'ERR_MB_CLI_INVALID_DATE_FORMAT';
22
+ }
23
+ /**
24
+ * Unknown error
25
+ *
26
+ * Thrown at the CLI boundary to wrap unexpected errors that are not ModestBench
27
+ * errors. This ensures all errors have proper structure and documentation
28
+ * links.
29
+ */
30
+ export class UnknownError extends ModestBenchError {
31
+ code = 'ERR_MB_UNKNOWN';
32
+ /**
33
+ * Create a new UnknownError wrapping an unexpected error
34
+ *
35
+ * @param message - The error message (typically from the original error)
36
+ * @param options - Error options with the original error as the cause
37
+ */
38
+ constructor(message, options) {
39
+ super(message, options);
40
+ }
41
+ /**
42
+ * Override toString to show full details of the wrapped error
43
+ */
44
+ toString() {
45
+ let result = super.toString();
46
+ if (this.cause instanceof Error && this.cause.stack) {
47
+ result += '\n\nOriginal error:\n' + this.cause.stack;
48
+ }
49
+ return result;
50
+ }
51
+ }
52
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/errors/cli.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB;AAE7C;;;;GAIG;AACH,MAAM,OAAO,oBAAqB,SAAQ,gBAAgB;IAC/C,IAAI,GAAG,6BAA6B,CAAC;CAC/C;AAED;;;;GAIG;AACH,MAAM,OAAO,sBAAuB,SAAQ,gBAAgB;IACjD,IAAI,GAAG,gCAAgC,CAAC;CAClD;AAED;;;;;;GAMG;AACH,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACvC,IAAI,GAAG,gBAAgB,CAAC;IAEjC;;;;;OAKG;IACH,YAAY,OAAe,EAAE,OAAqB;QAChD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;IAED;;OAEG;IACM,QAAQ;QACf,IAAI,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;QAE9B,IAAI,IAAI,CAAC,KAAK,YAAY,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACpD,MAAM,IAAI,uBAAuB,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QACvD,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * Configuration-related errors
4
+ *
5
+ * Errors that occur during configuration file loading, parsing, and validation.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.UnsupportedConfigFormatError = exports.ConfigValidationError = exports.ConfigNotFoundError = exports.ConfigLoadError = void 0;
9
+ const base_js_1 = require("./base.cjs");
10
+ /**
11
+ * Failed to load configuration
12
+ *
13
+ * Thrown when configuration loading fails for reasons other than file not found
14
+ * (e.g., parse errors, module loading errors).
15
+ */
16
+ class ConfigLoadError extends base_js_1.ModestBenchError {
17
+ code = 'ERR_MB_CONFIG_LOAD_FAILED';
18
+ }
19
+ exports.ConfigLoadError = ConfigLoadError;
20
+ /**
21
+ * Configuration file not found
22
+ *
23
+ * Thrown when a specified configuration file cannot be found.
24
+ */
25
+ class ConfigNotFoundError extends base_js_1.ModestBenchError {
26
+ code = 'ERR_MB_CONFIG_NOT_FOUND';
27
+ }
28
+ exports.ConfigNotFoundError = ConfigNotFoundError;
29
+ /**
30
+ * Configuration validation failed
31
+ *
32
+ * Thrown when a configuration file or configuration options fail schema
33
+ * validation.
34
+ */
35
+ class ConfigValidationError extends base_js_1.ModestBenchError {
36
+ code = 'ERR_MB_CONFIG_VALIDATION_FAILED';
37
+ }
38
+ exports.ConfigValidationError = ConfigValidationError;
39
+ /**
40
+ * Unsupported configuration format
41
+ *
42
+ * Thrown when attempting to use an unsupported configuration file format.
43
+ */
44
+ class UnsupportedConfigFormatError extends base_js_1.ModestBenchError {
45
+ code = 'ERR_MB_CONFIG_UNSUPPORTED_FORMAT';
46
+ }
47
+ exports.UnsupportedConfigFormatError = UnsupportedConfigFormatError;
48
+ //# sourceMappingURL=configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../src/errors/configuration.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,wCAA6C;AAE7C;;;;;GAKG;AACH,MAAa,eAAgB,SAAQ,0BAAgB;IAC1C,IAAI,GAAG,2BAA2B,CAAC;CAC7C;AAFD,0CAEC;AAED;;;;GAIG;AACH,MAAa,mBAAoB,SAAQ,0BAAgB;IAC9C,IAAI,GAAG,yBAAyB,CAAC;CAC3C;AAFD,kDAEC;AAED;;;;;GAKG;AACH,MAAa,qBAAsB,SAAQ,0BAAgB;IAChD,IAAI,GAAG,iCAAiC,CAAC;CACnD;AAFD,sDAEC;AAED;;;;GAIG;AACH,MAAa,4BAA6B,SAAQ,0BAAgB;IACvD,IAAI,GAAG,kCAAkC,CAAC;CACpD;AAFD,oEAEC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Configuration-related errors
3
+ *
4
+ * Errors that occur during configuration file loading, parsing, and validation.
5
+ */
6
+ import { ModestBenchError } from "./base.cjs";
7
+ /**
8
+ * Failed to load configuration
9
+ *
10
+ * Thrown when configuration loading fails for reasons other than file not found
11
+ * (e.g., parse errors, module loading errors).
12
+ */
13
+ export declare class ConfigLoadError extends ModestBenchError {
14
+ readonly code = "ERR_MB_CONFIG_LOAD_FAILED";
15
+ }
16
+ /**
17
+ * Configuration file not found
18
+ *
19
+ * Thrown when a specified configuration file cannot be found.
20
+ */
21
+ export declare class ConfigNotFoundError extends ModestBenchError {
22
+ readonly code = "ERR_MB_CONFIG_NOT_FOUND";
23
+ }
24
+ /**
25
+ * Configuration validation failed
26
+ *
27
+ * Thrown when a configuration file or configuration options fail schema
28
+ * validation.
29
+ */
30
+ export declare class ConfigValidationError extends ModestBenchError {
31
+ readonly code = "ERR_MB_CONFIG_VALIDATION_FAILED";
32
+ }
33
+ /**
34
+ * Unsupported configuration format
35
+ *
36
+ * Thrown when attempting to use an unsupported configuration file format.
37
+ */
38
+ export declare class UnsupportedConfigFormatError extends ModestBenchError {
39
+ readonly code = "ERR_MB_CONFIG_UNSUPPORTED_FORMAT";
40
+ }
41
+ //# sourceMappingURL=configuration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/errors/configuration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,mBAAkB;AAE7C;;;;;GAKG;AACH,qBAAa,eAAgB,SAAQ,gBAAgB;IACnD,QAAQ,CAAC,IAAI,+BAA+B;CAC7C;AAED;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,gBAAgB;IACvD,QAAQ,CAAC,IAAI,6BAA6B;CAC3C;AAED;;;;;GAKG;AACH,qBAAa,qBAAsB,SAAQ,gBAAgB;IACzD,QAAQ,CAAC,IAAI,qCAAqC;CACnD;AAED;;;;GAIG;AACH,qBAAa,4BAA6B,SAAQ,gBAAgB;IAChE,QAAQ,CAAC,IAAI,sCAAsC;CACpD"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Configuration-related errors
3
+ *
4
+ * Errors that occur during configuration file loading, parsing, and validation.
5
+ */
6
+ import { ModestBenchError } from "./base.js";
7
+ /**
8
+ * Failed to load configuration
9
+ *
10
+ * Thrown when configuration loading fails for reasons other than file not found
11
+ * (e.g., parse errors, module loading errors).
12
+ */
13
+ export declare class ConfigLoadError extends ModestBenchError {
14
+ readonly code = "ERR_MB_CONFIG_LOAD_FAILED";
15
+ }
16
+ /**
17
+ * Configuration file not found
18
+ *
19
+ * Thrown when a specified configuration file cannot be found.
20
+ */
21
+ export declare class ConfigNotFoundError extends ModestBenchError {
22
+ readonly code = "ERR_MB_CONFIG_NOT_FOUND";
23
+ }
24
+ /**
25
+ * Configuration validation failed
26
+ *
27
+ * Thrown when a configuration file or configuration options fail schema
28
+ * validation.
29
+ */
30
+ export declare class ConfigValidationError extends ModestBenchError {
31
+ readonly code = "ERR_MB_CONFIG_VALIDATION_FAILED";
32
+ }
33
+ /**
34
+ * Unsupported configuration format
35
+ *
36
+ * Thrown when attempting to use an unsupported configuration file format.
37
+ */
38
+ export declare class UnsupportedConfigFormatError extends ModestBenchError {
39
+ readonly code = "ERR_MB_CONFIG_UNSUPPORTED_FORMAT";
40
+ }
41
+ //# sourceMappingURL=configuration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/errors/configuration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB;AAE7C;;;;;GAKG;AACH,qBAAa,eAAgB,SAAQ,gBAAgB;IACnD,QAAQ,CAAC,IAAI,+BAA+B;CAC7C;AAED;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,gBAAgB;IACvD,QAAQ,CAAC,IAAI,6BAA6B;CAC3C;AAED;;;;;GAKG;AACH,qBAAa,qBAAsB,SAAQ,gBAAgB;IACzD,QAAQ,CAAC,IAAI,qCAAqC;CACnD;AAED;;;;GAIG;AACH,qBAAa,4BAA6B,SAAQ,gBAAgB;IAChE,QAAQ,CAAC,IAAI,sCAAsC;CACpD"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Configuration-related errors
3
+ *
4
+ * Errors that occur during configuration file loading, parsing, and validation.
5
+ */
6
+ import { ModestBenchError } from "./base.js";
7
+ /**
8
+ * Failed to load configuration
9
+ *
10
+ * Thrown when configuration loading fails for reasons other than file not found
11
+ * (e.g., parse errors, module loading errors).
12
+ */
13
+ export class ConfigLoadError extends ModestBenchError {
14
+ code = 'ERR_MB_CONFIG_LOAD_FAILED';
15
+ }
16
+ /**
17
+ * Configuration file not found
18
+ *
19
+ * Thrown when a specified configuration file cannot be found.
20
+ */
21
+ export class ConfigNotFoundError extends ModestBenchError {
22
+ code = 'ERR_MB_CONFIG_NOT_FOUND';
23
+ }
24
+ /**
25
+ * Configuration validation failed
26
+ *
27
+ * Thrown when a configuration file or configuration options fail schema
28
+ * validation.
29
+ */
30
+ export class ConfigValidationError extends ModestBenchError {
31
+ code = 'ERR_MB_CONFIG_VALIDATION_FAILED';
32
+ }
33
+ /**
34
+ * Unsupported configuration format
35
+ *
36
+ * Thrown when attempting to use an unsupported configuration file format.
37
+ */
38
+ export class UnsupportedConfigFormatError extends ModestBenchError {
39
+ code = 'ERR_MB_CONFIG_UNSUPPORTED_FORMAT';
40
+ }
41
+ //# sourceMappingURL=configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../src/errors/configuration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB;AAE7C;;;;;GAKG;AACH,MAAM,OAAO,eAAgB,SAAQ,gBAAgB;IAC1C,IAAI,GAAG,2BAA2B,CAAC;CAC7C;AAED;;;;GAIG;AACH,MAAM,OAAO,mBAAoB,SAAQ,gBAAgB;IAC9C,IAAI,GAAG,yBAAyB,CAAC;CAC3C;AAED;;;;;GAKG;AACH,MAAM,OAAO,qBAAsB,SAAQ,gBAAgB;IAChD,IAAI,GAAG,iCAAiC,CAAC;CACnD;AAED;;;;GAIG;AACH,MAAM,OAAO,4BAA6B,SAAQ,gBAAgB;IACvD,IAAI,GAAG,kCAAkC,CAAC;CACpD"}