@@ -77,7 +77,7 @@ export class OpenFeatureAPI
77
77
* Setting a provider supersedes the current provider used in new and existing unbound clients.
78
78
* @param {Provider } provider The provider responsible for flag evaluations.
79
79
* @returns {Promise<void> }
80
- * @throws Uncaught exceptions thrown by the provider during initialization.
80
+ * @throws { Error } If the provider throws an exception during initialization.
81
81
*/
82
82
setProviderAndWait ( provider : Provider ) : Promise < void > ;
83
83
/**
@@ -87,7 +87,7 @@ export class OpenFeatureAPI
87
87
* @param {Provider } provider The provider responsible for flag evaluations.
88
88
* @param {EvaluationContext } context The evaluation context to use for flag evaluations.
89
89
* @returns {Promise<void> }
90
- * @throws Uncaught exceptions thrown by the provider during initialization.
90
+ * @throws { Error } If the provider throws an exception during initialization.
91
91
*/
92
92
setProviderAndWait ( provider : Provider , context : EvaluationContext ) : Promise < void > ;
93
93
/**
@@ -97,7 +97,7 @@ export class OpenFeatureAPI
97
97
* @param {string } domain The name to identify the client
98
98
* @param {Provider } provider The provider responsible for flag evaluations.
99
99
* @returns {Promise<void> }
100
- * @throws Uncaught exceptions thrown by the provider during initialization.
100
+ * @throws { Error } If the provider throws an exception during initialization.
101
101
*/
102
102
setProviderAndWait ( domain : string , provider : Provider ) : Promise < void > ;
103
103
/**
@@ -108,7 +108,7 @@ export class OpenFeatureAPI
108
108
* @param {Provider } provider The provider responsible for flag evaluations.
109
109
* @param {EvaluationContext } context The evaluation context to use for flag evaluations.
110
110
* @returns {Promise<void> }
111
- * @throws Uncaught exceptions thrown by the provider during initialization.
111
+ * @throws { Error } If the provider throws an exception during initialization.
112
112
*/
113
113
setProviderAndWait ( domain : string , provider : Provider , context : EvaluationContext ) : Promise < void > ;
114
114
async setProviderAndWait (
0 commit comments