DI Bag API / index / ObserverErrorCallback
Type Alias: ObserverErrorCallback
ts
type ObserverErrorCallback = (this: void, failure: ObserverFailure) => unknown;Defined in: observers.ts:61
Reports failures from one observer's event callback; its own failures are consumed.
Parameters
| Parameter | Description |
|---|---|
this | - |
failure | - |
See
https://dany-fedorov.github.io/di-bag/guides/tutorial.html#observe-lifecycle-transitions