Closed ballonura closed 1 year ago
How can i get the error/reason for the number to be invalid?
The error
contains the error, doesn't it
+1, it does not throw error for TOO_SHORT
case for example meanwhile isValid returns false (as expected)
"Not valid" is not equal to "an error". "An error" would be "can't possibly be a phone number" rather than "looks like a phone number but is not a valid one".
Code:
How can i get the error/reason for the number to be invalid? Thx. ;)