Skip to content

DI Bag API / index / DiBagErrorCode

Type Alias: DiBagErrorCode ​

ts
type DiBagErrorCode = `DI_BAG_${string}`;

Defined in: errors.ts:5

Stable category for a diagnostic created by DI Bag itself.

See ​

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

Ordinary services. Checked composition. Explicit ownership.