Skip to content

Commit 145bb70

Browse files
authored
housekeeping: Correct the Error Message in ValidationText (#150)
1 parent 2548cc0 commit 145bb70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactiveUI.Validation/Collections/ValidationText.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public void Clear()
237237
{
238238
if (ReferenceEquals(this, Empty))
239239
{
240-
throw new InvalidOperationException("Adding to ValidationText.Empty is unsupported.");
240+
throw new InvalidOperationException("Clearing ValidationText.Empty is unsupported.");
241241
}
242242

243243
if (ReferenceEquals(this, None))

0 commit comments

Comments
 (0)