smaltby / spotify-api-plusplus

A C++ wrapper of the Spotify Web API
MIT License
79 stars 17 forks source link

Throw exception containing Error model when appropriate #5

Closed smaltby closed 7 years ago

smaltby commented 7 years ago

Currently, the Error model is unused, and the library just crashes whenever the web API sends an error. This should be resolved by throwing an exception containing the Error model when that happens, so users can catch that exception and handle it gracefully.

smaltby commented 7 years ago

Resolved as of f7ff4b0ade84cb938e4a2cef4f8ab546afc09158