GroupNotFoundException

Thrown when attempting to access a feature group that does not exist in the store.

This exception may be thrown by group-related operations when no features are associated with the specified group name. Note that some operations like FeatureStore.getGroup() may return an empty map instead of throwing this exception, depending on the implementation.

To avoid this exception, use FeatureStore.containsGroup() to check for group existence first.

Example:

if (featureStore.containsGroup("beta-features")) {
featureStore.enableGroup("beta-features")
}

Parameters

groupName

The name of the group that was not found

See also

Constructors

Link copied to clipboard
constructor(groupName: String)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?