strictProvideFeature

Provides a feature instance by its type, throwing an exception if not configured.

This method is similar to provideFeature but guarantees a non-null result. Use this when you know a feature should be configured and want to fail fast if it's missing.

Return

The feature instance (guaranteed non-null)

Parameters

T

The type of feature to retrieve

See also

Throws

if the feature is not configured

if the feature type is not recognized