Sha256: 49e6667047d775c1f7acef386758677896ef6c803cb913216de1975bd6f45e37

Contents?: true

Size: 223 Bytes

Versions: 4

Compression:

Stored size: 223 Bytes

Contents

module Hyperdrive
  module Errors
    class BadRequest < HTTPError
      def message
        "The request cannot be fulfilled due to bad syntax."
      end

      def http_status_code
        400
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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