kyleboe / zoom_rb

Ruby REST API Wrapper for zoom.us API
https://developers.zoom.us/docs/api/
MIT License
83 stars 104 forks source link

Fix error status mapping and improve error handling #473

Closed nm closed 3 months ago

nm commented 4 months ago

At the moment there is a mixup between HTTP error codes and Zoom error codes. That makes it difficult to handle errors properly.

This PR addresses some issues with error mapping and error handling (which also has been described in https://github.com/kyleboe/zoom_rb/issues/464):

Be aware that this would be a breaking change, because it changes the structur of error messages.