Skip to content

Commit

Permalink
housekeeping: Correct the Error Message in ValidationText (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
worldbeater authored Oct 22, 2020
1 parent 2548cc0 commit 145bb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReactiveUI.Validation/Collections/ValidationText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void Clear()
{
if (ReferenceEquals(this, Empty))
{
throw new InvalidOperationException("Adding to ValidationText.Empty is unsupported.");
throw new InvalidOperationException("Clearing ValidationText.Empty is unsupported.");
}

if (ReferenceEquals(this, None))
Expand Down

0 comments on commit 145bb70

Please sign in to comment.