Documents injecute 1.x · Migrating from 0.x
Skip to content

Interface: WiringProblem ​

Defined in: src/utils/check-wiring.ts:26

One problem found by checkWiring.

Properties ​

affected ​

readonly affected: readonly ServiceKey[]

Defined in: src/utils/check-wiring.ts:35

Services that need key, directly or through other services. With resolve, they were skipped.


error? ​

readonly optional error?: unknown

Defined in: src/utils/check-wiring.ts:37

For failed: the error resolving key threw (usually INJECUTE_RESOLUTION_FAILED, with the original as cause).


key ​

readonly key: ServiceKey

Defined in: src/utils/check-wiring.ts:33

The missing key, or the service whose factory failed.


type ​

readonly type: "missing" | "failed"

Defined in: src/utils/check-wiring.ts:31

missing: nothing registers key, but a service depends on it, or it is in keys. failed: resolving key threw (only with resolve: true).

Released under the MIT License.