Sha256: 88f8418de8d8468149e1225cbbc32e07f97a0371bdee2a7837963945d07752f5

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

require 'wayback/error/server_error'

module Wayback
  class Error
    # Raised when Wayback returns the HTTP status code 502
    class BadGateway < Wayback::Error::ServerError
      HTTP_STATUS_CODE = 502
      MESSAGE = "Wayback is down or being upgraded."
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wayback-0.3.1 lib/wayback/error/bad_gateway.rb
wayback-0.2.1 lib/wayback/error/bad_gateway.rb
wayback-0.2.0 lib/wayback/error/bad_gateway.rb
wayback-0.1.0 lib/wayback/error/bad_gateway.rb