{"version":3,"file":"stub-factory-class.mjs","names":["DIError","StubFactoryClass","factoryNotFound"],"sources":["../../../src/internal/stub-factory-class.mts"],"sourcesContent":["import { DIError } from '../errors/di-error.mjs'\n\n/**\n * Stub factory class used when registering InjectionTokens without a real class implementation.\n * This is used in ScopedContainer.addInstance() to allow registering tokens that don't have\n * a corresponding class, while preventing accidental instantiation.\n *\n * @internal\n */\nexport class StubFactoryClass {\n  constructor() {\n    throw DIError.factoryNotFound(\n      'Trying to get instance of factory without real implementation',\n    )\n  }\n}\n"],"mappings":";;;;;;;;;GASA,IAAaC,mBAAb,MAAaA;CACX,cAAc;AACZ,QAAMD,QAAQE,gBACZ,gEAAA"}