DI token resolving to the nearest {@link CngxErrorScopeContract} ancestor
CNGX_ERROR_SCOPE
Tokenv0.1.0WCAG AA
InjectionToken<CngxErrorScopeContract>
Description#
DI token resolving to the nearest CngxErrorScopeContract ancestor.
Provided by CngxErrorScope via useExisting; descendants inject
with { optional: true } and fall back gracefully when no scope is
present (no-op).
Type#
InjectionToken<CngxErrorScopeContract>