diff --git a/lib/twitter/error.rb b/lib/twitter/error.rb index bf4ede5ed..a8afe40bb 100644 --- a/lib/twitter/error.rb +++ b/lib/twitter/error.rb @@ -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