Closed Tekkon closed 2 years ago
Isn't this a breaking change? If I have rescue Zoom::Error
in my codebase, raising these new, granular errors will no longer be caught (since they don't inherit from Zoom::Error)
(do I have that right?)
@tjefferson08 you're totally right. Apologies if this caused any disruption. I opened up #435 with a couple smoke tests to ensure we are descending from Zoom::Error
. Thanks for catching this.
Thanks for the quick response & repair! 🥇
It's hard to handle errors generated by the gem in the App which uses it because the errors are too common. There is only Zoom::AuthenticationError and Zoom::Error for any other cases.
This PR improves error generation. The error classes added for common http codes. https://marketplace.zoom.us/docs/api-reference/error-definitions is used for reference.