We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c1a76 commit 209c0cfCopy full SHA for 209c0cf
lib/intercom/errors.rb
@@ -3,9 +3,9 @@ module Intercom
3
# Base class exception from which all public Intercom exceptions will be derived
4
class IntercomError < StandardError
5
attr_reader :http_code, :application_error_code
6
- def initialize(message, http_code = nil, application_error_code = application_error_code)
+ def initialize(message, http_code = nil, error_code = application_error_code)
7
@http_code = http_code
8
- @application_error_code = application_error_code
+ @application_error_code = error_code
9
super(message)
10
end
11
0 commit comments