Burgestrand / Hallon

Hallon is currently **UNMAINTAINED**.
http://rdoc.info/github/Burgestrand/Hallon/master/frames
134 stars 12 forks source link

Support error checking for all methods that received it in libspotify v12 #119

Closed Burgestrand closed 12 years ago

Burgestrand commented 12 years ago

Not quite sure what to do about release, since it gets called as a result of ruby GC. Then again, it’d be nice to know if it fails (because it shouldn’t!).

Burgestrand commented 12 years ago

That’s a long list, and there’s more methods in libspotify that already have some kind of error handling. Will probably add bang methods to the Spotify gem for all methods that return an error, which will be the equivalent of the non-bang version except it raises automatically.

Burgestrand commented 12 years ago

The base for this is in place. Just need to review every single one of these methods now.

Burgestrand commented 12 years ago

Most of these methods always return the same error code, and not all of them make sense to raise an error when the operation fails. I’m not quite sure where my stand on exceptions for some of these methods is.

Burgestrand commented 12 years ago

List of functions that actually need treatment: