Skip to content

DI Bag API / index / DiBagDiagnostic

Interface: DiBagDiagnostic ​

Defined in: errors.ts:10

Structured library diagnostics. Application-owned payloads retain their identity.

See ​

https://dany-fedorov.github.io/di-bag/agent/errors.html#runtime-codes

Properties ​

code ​

ts
readonly code: DiBagErrorCode;

Defined in: errors.ts:11


details ​

ts
readonly details: Readonly<Record<string, unknown>>;

Defined in: errors.ts:12

Ordinary services. Checked composition. Explicit ownership.