Sha256: ea2e64641b644baf8b11b65213d8ffa880572c98b810a2fb680d80999bbfcf04

Contents?: true

Size: 239 Bytes

Versions: 12

Compression:

Stored size: 239 Bytes

Contents

module Hyperdrive
  module Errors
    class JSONParseError < HTTPError
      def initialize
        @http_status_code = 400
        @message = 'The JSON sent in the request cannot be parsed due to bad syntax.'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyperdrive-0.0.25 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.24 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.23 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.22 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.21 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.20 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.19 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.18 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.17 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.16 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.15 lib/hyperdrive/errors/json_parse_error.rb
hyperdrive-0.0.14 lib/hyperdrive/errors/json_parse_error.rb