UNPKG
passcode-validator
Version:
latest (1.0.0)
1.0.0
Validate passwords and numeric codes
github.com/agestaun/passcode-validator
passcode-validator
/
src
/
errors
/
RuleError.ts
6 lines
(5 loc)
•
220 B
text/typescript
View Raw
1
2
3
4
5
6
enum
RuleError { POSITIVE_VALUE_REQUIRED =
'The values cannot be smaller or equal to zero.'
, MAX_LENGTH_GREATER =
'If maxLength is received, it must be greater or equal to minLength.'
}
export
default
RuleError;