LLD - Advanced LLD Concepts
Identify the error in the following code snippet using a dependency injection framework:
class ServiceB {}
const serviceB = injector.get(ServiceB);
injector.register(ServiceB);