Update exception message to be more clear

This commit is contained in:
Archangel
2025-05-29 19:00:27 +02:00
committed by Jesse
parent b07fb37312
commit 39afd6e24a
@@ -174,7 +174,7 @@ public class DependencyInjectionHandler
_serviceCollection.AddScoped(registrableInterface, implementationType);
break;
default:
throw new ArgumentOutOfRangeException(nameof(injectionType), "unknown injection type");
throw new ArgumentOutOfRangeException(nameof(injectionType), $"Unknown injection type on {implementationType.Namespace}.{implementationType.Name}");
}
}