Exception: SplitIoClient::ApiException

Inherits:
SplitIoError
  • Object
show all
Defined in:
lib/splitclient-rb/exceptions.rb

Instance Method Summary collapse

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_codeObject



21
22
23
# File 'lib/splitclient-rb/exceptions.rb', line 21

def exception_code
  @@exception_code
end