Skip to content

Commit

Permalink
Updated example error message
Browse files Browse the repository at this point in the history
Updated example error message for ExclusiveBetween Validator to avoid confusion.
  • Loading branch information
utsxumiao authored and JeremySkinner committed Feb 19, 2020
1 parent ec3872e commit 1c38b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/built-in-validators.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ Checks whether the property value is in a range between the two specified number
```csharp
RuleFor(x => x.Id).ExclusiveBetween(1,10);
```
Example error: 'Id' must be between 1 and 10 (exclusive). You entered 0.
Example error: 'Id' must be between 1 and 10 (exclusive). You entered 1.

String format args:
* {PropertyName} = The name of the property being validated
Expand Down

0 comments on commit 1c38b89

Please sign in to comment.