Exception: LeanTesting::SDKException
- Inherits:
-
Exception
- Object
- Exception
- LeanTesting::SDKException
- Defined in:
- lib/Exception/BaseException/SDKException.rb
Direct Known Subclasses
SDKBadJSONResponseException, SDKDuplicateRequestException, SDKErrorResponseException, SDKIncompleteRequestException, SDKInvalidArgException, SDKMissingArgException, SDKUnexpectedResponseException, SDKUnsupportedRequestException
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ SDKException
constructor
A new instance of SDKException.
- #message ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ SDKException
Returns a new instance of SDKException.
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/Exception/BaseException/SDKException.rb', line 4 def initialize( = nil) super if ! = 'Unknown SDK Error' else = 'SDK Error: ' + end @message = end |
Instance Method Details
#message ⇒ Object
16 17 18 |
# File 'lib/Exception/BaseException/SDKException.rb', line 16 def @message end |