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

Class: WiringError ​

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

Thrown by checkWiring: every problem it found, in problems.

Extends ​

Constructors ​

Constructor ​

new WiringError(problems): WiringError

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

Parameters ​

problems ​

readonly WiringProblem[]

Returns ​

WiringError

Overrides ​

InjecuteError.constructor

Properties ​

cause? ​

optional cause?: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:24

Inherited from ​

InjecuteError.cause


code ​

readonly code: "INJECUTE_NOT_REGISTERED" | "INJECUTE_ALREADY_REGISTERED" | "INJECUTE_CIRCULAR_DEPENDENCY" | "INJECUTE_NOTHING_TO_REPLACE" | "INJECUTE_NO_PREVIOUS_DEFINITION" | "INJECUTE_INVALID_FACTORY" | "INJECUTE_INVALID_DEPENDENCY" | "INJECUTE_CLASS_NOT_CONSTRUCTED" | "INJECUTE_RESOLUTION_FAILED" | "INJECUTE_NOT_A_FUNCTION" | "INJECUTE_NAMESPACE_CONFLICT" | "INJECUTE_NAMESPACE_RESULT" | "INJECUTE_EXTENSION_RESULT" | "INJECUTE_SEALED" | "INJECUTE_DISPOSED" | "INJECUTE_DISPOSE_FAILED" | "INJECUTE_WIRING_FAILED" | "INJECUTE_INVALID_OPTION" | "INJECUTE_UNKNOWN_EVENT" | "INJECUTE_READ_ONLY" | "INJECUTE_INVALID_HOOK" | "INJECUTE_UNDO_FAILED" | "INJECUTE_LIFECYCLE_STOPPED"

Defined in: src/errors.ts:47

Stable identifier of the error.

Inherited from ​

InjecuteError.code


docs ​

readonly docs: string

Defined in: src/errors.ts:51

Link to the documentation page of this error.

Inherited from ​

InjecuteError.docs


message ​

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1075

Inherited from ​

InjecuteError.message


name ​

readonly name: string = 'WiringError'

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

'WiringError'.

Overrides ​

InjecuteError.name


path ​

readonly path: readonly ServiceKey[]

Defined in: src/errors.ts:49

Service keys being resolved when the error happened, outermost first.

Inherited from ​

InjecuteError.path


problems ​

readonly problems: readonly WiringProblem[]

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

Every problem found, missing keys first.


stack? ​

optional stack?: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from ​

InjecuteError.stack

Released under the MIT License.