kylejginavan/youtube_it — pull request #182 by dbackeus (2013-09-02 11:01:23+00:00)
Title: Better Exceptions

Pull request for the previously added (and in theory approved) issue #160.

- All errors are now defined under the YouTubeIt namespace and inherit from YouTubeIt::Error
- All 404 responses from the YouTube api now raise YouTubeIt::ResourceNotFoundError instead of UploadError

Note that some tests for the handling of errors have been added, making the code more robust overall.

Also adds a change log since it's crucial to inform people using the gem of what's being changed between versions. Whenever you actually release a new gem version make sure to set the appropriate version number and date info in the changelog as well.