Sha256: 791e6fbcba02d7c6c5fd84af70c16a5c3f2863fea23fd68c827a922daa02d18c

Contents?: true

Size: 366 Bytes

Versions: 18

Compression:

Stored size: 366 Bytes

Contents

require 'twitter/error/server_error'

module Twitter
  class Error
    # Raised when Twitter returns the HTTP status code 504
    class GatewayTimeout < Twitter::Error::ServerError
      HTTP_STATUS_CODE = 504
      MESSAGE = "The Twitter servers are up, but the request couldn't be serviced due to some failure within our stack. Try again later."
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
twitter-4.8.1 lib/twitter/error/gateway_timeout.rb
twitter-4.8.0 lib/twitter/error/gateway_timeout.rb
twitter-4.7.0 lib/twitter/error/gateway_timeout.rb
twitter-4.6.2 lib/twitter/error/gateway_timeout.rb
twitter-4.6.1 lib/twitter/error/gateway_timeout.rb
twitter-4.6.0 lib/twitter/error/gateway_timeout.rb
twitter-4.5.0 lib/twitter/error/gateway_timeout.rb
twitter-4.4.4 lib/twitter/error/gateway_timeout.rb
twitter-4.4.3 lib/twitter/error/gateway_timeout.rb
twitter-4.4.2 lib/twitter/error/gateway_timeout.rb
twitter-4.4.1 lib/twitter/error/gateway_timeout.rb
twitter-4.4.0 lib/twitter/error/gateway_timeout.rb
twitter-4.3.0 lib/twitter/error/gateway_timeout.rb
twitter-4.2.0 lib/twitter/error/gateway_timeout.rb
twitter-4.1.2 lib/twitter/error/gateway_timeout.rb
twitter-4.1.1 lib/twitter/error/gateway_timeout.rb
twitter-4.1.0 lib/twitter/error/gateway_timeout.rb
twitter-4.0.0 lib/twitter/error/gateway_timeout.rb