Exception: LeanTesting::SDKErrorResponseException

Inherits:
SDKException
  • Object
show all
Defined in:
lib/Exception/SDKErrorResponseException.rb

Instance Method Summary collapse

Methods inherited from SDKException

#message

Constructor Details

#initialize(message = nil) ⇒ SDKErrorResponseException

Returns a new instance of SDKErrorResponseException.



4
5
6
7
8
9
10
11
12
# File 'lib/Exception/SDKErrorResponseException.rb', line 4

def initialize(message = nil)
	if !message
		message = 'Unknown remote error'
	else
		message = 'Got error response: ' + message
	end

	super
end