Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rescue URI::InvalidURIError #13

Open
awead opened this issue Nov 15, 2021 · 0 comments
Open

Rescue URI::InvalidURIError #13

awead opened this issue Nov 15, 2021 · 0 comments

Comments

@awead
Copy link
Contributor

awead commented Nov 15, 2021

This happens when the user puts in the wrong kind of input and it gets passed to the endpoint. Anyone using this gem will have to account for this problem, so we might as well be nice and take care of it here.

WDLL

  • rescue URI::InvalidURIError and raise something like ArgumentError which is fancy talk for "bad input"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant