mobi / telephone_number

Phone number validation for Ruby
MIT License
385 stars 32 forks source link

Error messages for validation failure #123

Open deepakthankachan opened 1 year ago

deepakthankachan commented 1 year ago

Hi,

The isValid method simply returns a boolean without an error message regarding the failure cause. Is there anyway we can hook into the validation message as it will be helpful to the end user?

Regards,

Deepak

jaykravetz commented 1 year ago

Hi @deepakthankachan, Can you provide an example of what you're looking for?