Skip to content

Commit 70e84e1

Browse files
add message for numeric string rule
1 parent 6632699 commit 70e84e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/messages.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = {
1111
stringPattern: "The '{field}' field fails to match the required pattern!",
1212
stringContains: "The '{field}' field must contain the '{expected}' text!",
1313
stringEnum: "The '{field}' field does not match any of the allowed values!",
14+
stringNumeric: "The '{field}' field must be a numeric string",
1415

1516
number: "The '{field}' field must be a number!",
1617
numberMin: "The '{field}' field must be greater than or equal to {expected}!",

0 commit comments

Comments
 (0)