lib/instapaper/error.rb in instapaper-1.0.0.pre2 vs lib/instapaper/error.rb in instapaper-1.0.0.pre3
- old
+ new
@@ -9,9 +9,10 @@
FolderError = Class.new(self)
HighlightError = Class.new(self)
OAuthError = Class.new(self)
ERRORS = {
+ 401 => 'Unauthorized',
1040 => 'Rate-limit exceeded',
1041 => 'Premium account required',
1042 => 'Application is suspended',
1500 => 'Unexpected service error',
1550 => 'Error generating text version of this URL',