Sha256: 3910c40b288070e9bdd7e06f2eafdb3e306fdd726d1d7cf437ca28ea9287a0bc

Contents?: true

Size: 243 Bytes

Versions: 3

Compression:

Stored size: 243 Bytes

Contents

class Kintone::Error < StandardError
  attr_reader :response

  def initialize(response, path, method_name, params)
    message = [response['message'], path, method_name, params].join(' ')
    super(message)
    @response = response
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kintone-client-0.1.5 lib/kintone/client/error.rb
kintone-client-0.1.4 lib/kintone/client/error.rb
kintone-client-0.1.3 lib/kintone/client/error.rb