Sha256: e52e17504a44f28f1b26f07251a3131aa693a756fa043bfb59d22d5c69beb430

Contents?: true

Size: 305 Bytes

Versions: 4

Compression:

Stored size: 305 Bytes

Contents

module Clever
  # An invalid request to the Clever API
  class InvalidRequestError < CleverError
    attr_accessor :param

    def initialize(message, param, http_status = nil, http_body = nil, json_body = nil)
      super message, http_status, http_body, json_body
      @param = param
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
clever-ruby-0.6.0 lib/clever-ruby/errors/invalid_request_error.rb
clever-ruby-0.5.0 lib/clever-ruby/errors/invalid_request_error.rb
clever-ruby-0.4.1 lib/clever-ruby/errors/invalid_request_error.rb
clever-ruby-0.4.0 lib/clever-ruby/errors/invalid_request_error.rb