Sha256: 145ad80b7d9a15de9e8bac7f24e577f3650f821632c856e46e89642c9bc83228

Contents?: true

Size: 283 Bytes

Versions: 18

Compression:

Stored size: 283 Bytes

Contents

require 'twitter/error/server_error'

module Twitter
  class Error
    # Raised when Twitter returns the HTTP status code 503
    class ServiceUnavailable < Twitter::Error::ServerError
      HTTP_STATUS_CODE = 503
      MESSAGE = "(__-){ Twitter is over capacity."
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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