Exception: SDKException
- Inherits:
-
Exception
- Object
- Exception
- SDKException
- Defined in:
- lib/sdk_exception.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(message, code, type, url) ⇒ SDKException
constructor
A new instance of SDKException.
Constructor Details
#initialize(message, code, type, url) ⇒ SDKException
Returns a new instance of SDKException.
4 5 6 7 8 9 |
# File 'lib/sdk_exception.rb', line 4 def initialize , code, type, url @message = @code = code @type = type @url = url end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
2 3 4 |
# File 'lib/sdk_exception.rb', line 2 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
2 3 4 |
# File 'lib/sdk_exception.rb', line 2 def @message end |
#type ⇒ Object
Returns the value of attribute type.
2 3 4 |
# File 'lib/sdk_exception.rb', line 2 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
2 3 4 |
# File 'lib/sdk_exception.rb', line 2 def url @url end |