| Package | Description |
|---|---|
| dev.openfeature.sdk | |
| dev.openfeature.sdk.exceptions |
| Modifier and Type | Method and Description |
|---|---|
void |
OpenFeatureAPI.setProviderAndWait(FeatureProvider provider)
Set the default provider and wait for initialization to finish.
|
void |
OpenFeatureAPI.setProviderAndWait(String domain,
FeatureProvider provider)
Add a provider for a domain and wait for initialization to finish.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FlagNotFoundError |
class |
GeneralError |
class |
InvalidContextError
The evaluation context does not meet provider requirements.
|
class |
ParseError
An error was encountered parsing data, such as a flag configuration.
|
class |
ProviderNotReadyError |
class |
TargetingKeyMissingError
The provider requires a targeting key and one was not provided in the evaluation context.
|
class |
TypeMismatchError
The type of the flag value does not match the expected type.
|
class |
ValueNotConvertableError
The value can not be converted to a
Value. |
| Modifier and Type | Method and Description |
|---|---|
static OpenFeatureError |
ExceptionUtils.instantiateErrorByErrorCode(ErrorCode errorCode,
String errorMessage)
Creates an Error for the specific error code.
|
Copyright © 2024. All rights reserved.