Exception: LeanTesting::SDKBadJSONResponseException
- Inherits:
-
SDKException
- Object
- Exception
- SDKException
- LeanTesting::SDKBadJSONResponseException
- Defined in:
- lib/Exception/SDKBadJSONResponseException.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ SDKBadJSONResponseException
constructor
A new instance of SDKBadJSONResponseException.
Methods inherited from SDKException
Constructor Details
#initialize(message = nil) ⇒ SDKBadJSONResponseException
Returns a new instance of SDKBadJSONResponseException.
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/Exception/SDKBadJSONResponseException.rb', line 4 def initialize( = nil) @baseMessage = 'JSON remote response is inconsistent or invalid' if ! = @baseMessage else = @baseMessage + ' - ' + end super end |