Exception: SplitIoClient::ApiException
- Inherits:
-
SplitIoError
- Object
- StandardError
- SplitIoError
- SplitIoClient::ApiException
- Defined in:
- lib/splitclient-rb/exceptions.rb
Instance Method Summary collapse
- #exception_code ⇒ Object
-
#initialize(msg, exception_code) ⇒ ApiException
constructor
A new instance of ApiException.
Constructor Details
#initialize(msg, exception_code) ⇒ ApiException
Returns a new instance of ApiException.
17 18 19 20 |
# File 'lib/splitclient-rb/exceptions.rb', line 17 def initialize(msg, exception_code) @@exception_code = exception_code super(msg) end |
Instance Method Details
#exception_code ⇒ Object
21 22 23 |
# File 'lib/splitclient-rb/exceptions.rb', line 21 def exception_code @@exception_code end |