lib/kintone/client/error.rb in kintone-client-0.1.2 vs lib/kintone/client/error.rb in kintone-client-0.1.3

- old
+ new

@@ -1,8 +1,9 @@ class Kintone::Error < StandardError attr_reader :response - def initialize(response) - super(response['message']) + def initialize(response, path, method_name, params) + message = [response['message'], path, method_name, params].join(' ') + super(message) @response = response end end