lib/flix_cloud/exceptions.rb in zencoder-flix_cloud-gem-0.1.1 vs lib/flix_cloud/exceptions.rb in zencoder-flix_cloud-gem-0.2.0
- old
+ new
@@ -1,3 +1,5 @@
-class FlixCloud::SaveError < Exception; end
-
-class FlixCloud::CreateError < Exception; end
\ No newline at end of file
+class FlixCloud::Error < StandardError; end
+class FlixCloud::SaveError < FlixCloud::Error; end
+class FlixCloud::CreateError < FlixCloud::Error; end
+class FlixCloud::Unauthorized < FlixCloud::Error; end
+class FlixCloud::RequestFailed < FlixCloud::Error; end