@c15t/node-sdk 3.0.0-alpha.3 → 3.0.0-alpha.4

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.
@@ -0,0 +1,17 @@
1
+ /** One rejected client option. */
2
+ export interface C15tConfigurationIssue {
3
+ /** Option path, such as `baseUrl` or `retry.maxRetries`. */
4
+ readonly option: string;
5
+ readonly message: string;
6
+ }
7
+ /**
8
+ * Thrown by `createC15tClient` when its options are invalid.
9
+ *
10
+ * Every problem is collected first, so one throw reports all of them. This is
11
+ * the only error the client throws; calls return failures as results.
12
+ */
13
+ export declare class C15tConfigurationError extends Error {
14
+ readonly name = "C15tConfigurationError";
15
+ readonly issues: readonly C15tConfigurationIssue[];
16
+ constructor(issues: readonly C15tConfigurationIssue[]);
17
+ }