Sha256: 70f35555eeb636793d846b05c495da24b1bafd204ba88c21964a5db1a512acba

Contents?: true

Size: 224 Bytes

Versions: 2

Compression:

Stored size: 224 Bytes

Contents

# encoding: utf-8

module Hyperdrive
  module Errors
    class UnknownError < HTTPError
      def initialize(message = 'Unknown Error.')
        @http_status_code = 500
        @message = message
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyperdrive-0.0.25 lib/hyperdrive/errors/unknown_error.rb
hyperdrive-0.0.24 lib/hyperdrive/errors/unknown_error.rb