INJECUTE_UNKNOWN_EVENT
Unknown event name.
How to fix it
Supported events: add, replace, reset, get, produce, dispose.
Handling it in code
ts
import { InjecuteError } from 'injecute';
try {
// ...
} catch (error) {
if (error instanceof InjecuteError && error.code === 'INJECUTE_UNKNOWN_EVENT') {
// error.message explains what happened; error.path is the resolution chain
}
}