Skip to content

Commit

Permalink
Add SSL_REQUIRED error code
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Feb 28, 2014
1 parent 4b8f06c commit 0cb7e6c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lib/twitter/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ class Error < StandardError

# If error code is missing see https://dev.twitter.com/docs/error-codes-responses
module Code
AUTHENTICATION_PROBLEM = 32
RESOURCE_NOT_FOUND = 34
SUSPENDED_ACCOUNT = 64
DEPRECATED_CALL = 68
RATE_LIMIT_EXCEEDED = 88
INVALID_OR_EXPIRED_TOKEN = 89
UNABLE_TO_VERIFY_CREDENTIALS = 99
AUTHENTICATION_PROBLEM = 32
RESOURCE_NOT_FOUND = 34
SUSPENDED_ACCOUNT = 64
DEPRECATED_CALL = 68
RATE_LIMIT_EXCEEDED = 88
INVALID_OR_EXPIRED_TOKEN = 89
SSL_REQUIRED = 92
UNABLE_TO_VERIFY_CREDENTIALS = 99
OVER_CAPACITY = 130
INTERNAL_ERROR = 131
OAUTH_TIMESTAMP_OUT_OF_RANGE = 135
Expand Down

0 comments on commit 0cb7e6c

Please sign in to comment.