Sha256: a254156270e94274c28f01accdc257f282031ed5c3ad9ad6ef4cbfee78cdb304

Contents?: true

Size: 276 Bytes

Versions: 4

Compression:

Stored size: 276 Bytes

Contents

module Hyperdrive
  module Errors
    class InternalServerError < HTTPError
      def message
        "The server encountered an unexpected condition which prevented it from fulfilling the request."
      end

      def http_status_code
        500
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hyperdrive-0.0.7 lib/hyperdrive/errors/internal_server_error.rb
hyperdrive-0.0.6 lib/hyperdrive/errors/internal_server_error.rb
hyperdrive-0.0.5 lib/hyperdrive/errors/internal_server_error.rb
hyperdrive-0.0.4 lib/hyperdrive/errors/internal_server_error.rb