feat(injector): improve errors when injection fails by including information about the function being injected