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 from Faraday errors and raise custom one #68

Open
Azdaroth opened this issue Jul 16, 2015 · 0 comments
Open

rescue from Faraday errors and raise custom one #68

Azdaroth opened this issue Jul 16, 2015 · 0 comments

Comments

@Azdaroth
Copy link
Member

It would be a good addition to rescue from Faraday errors (e.g. TimeoutError or could be more generic and catch all errors inheriting form Faraday::ClientError) and raise custom one - it would be cleaner and would provide better abstraction as currently it requires to know how Faraday works when using bookingsync-api and catching such exceptions.

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