Class: UnresolvedInjectionError
Imported from
@react-logic/diDefined in: di/src/lib/default-adapter.ts:83
Thrown when a non-optional token has no provider in the active scope chain
(neither the local scope nor any of its ancestors). For class tokens this
never fires — they're auto-registered. It only happens with custom
InjectionTokens that no <Injector> provided.
Pass { optional: true } to inject() to receive null instead of this
error when the token is missing.
Extends
Error
Constructors
Constructor
new UnresolvedInjectionError(
type,injectorName):UnresolvedInjectionError
Defined in: di/src/lib/default-adapter.ts:84
Parameters
Returns
UnresolvedInjectionError
Overrides
Error.constructor