Skip to content

Commit

Permalink
Clean Error Message
Browse files Browse the repository at this point in the history
  • Loading branch information
pmdevers committed Dec 2, 2022
1 parent 4c5b2d1 commit 577b66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Featurize/FeatureCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public IFeatureCollection Add(IFeature feature)
{
if (!_features.Add(feature ?? throw new ArgumentNullException(nameof(feature))))
{
throw new ArgumentException($"Web applcation feature of type '{feature.GetType()}' with name '{feature.Name}' has already been added.");
throw new ArgumentException($"Feature of type '{feature.GetType()}' with same name '{feature.Name}' has already been added.");
}
return this;
}
Expand Down

0 comments on commit 577b66e

Please sign in to comment.