lib/kintone/client/error.rb in kintone-client-0.1.5 vs lib/kintone/client/error.rb in kintone-client-0.1.6

- old
+ new

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