lib/douban_api/error.rb in douban_api-0.1.2 vs lib/douban_api/error.rb in douban_api-0.1.3
- old
+ new
@@ -1,4 +1,5 @@
+# -*- encoding : utf-8 -*-
module Douban
# Custom error class for rescuing from all Douban errors
class Error < StandardError; end
# Raised when Douban returns the HTTP status code 400