Skip to content

Commit 1c753c7

Browse files
committed
cosmetic
1 parent 18c7f73 commit 1c753c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AutoMapper/Configuration/CtorParamConfigurationExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void Configure(TypeMap typeMap)
7575
var parameter = ctorMap[CtorParamName];
7676
if (parameter == null)
7777
{
78-
throw new AutoMapperConfigurationException($"{typeMap.DestinationType.Name} does not have a constructor with a parameter named '{CtorParamName}'.\n{typeMap.DestinationType.FullName}");
78+
throw new AutoMapperConfigurationException($"{typeMap.DestinationType.Name} does not have a matching constructor with a parameter named '{CtorParamName}'.\n{typeMap.DestinationType.FullName}");
7979
}
8080
foreach (var action in _ctorParamActions)
8181
{

0 commit comments

Comments
 (0)