Exception: Azure::Armrest::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- Azure::Armrest::Exception
- Defined in:
- lib/azure/armrest/exception.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
Returns the value of attribute cause.
- #message ⇒ Object
Instance Method Summary collapse
-
#initialize(message = nil, cause_exception = nil) ⇒ Exception
constructor
A new instance of Exception.
- #to_s ⇒ Object
Constructor Details
#initialize(message = nil, cause_exception = nil) ⇒ Exception
Returns a new instance of Exception.
7 8 9 10 |
# File 'lib/azure/armrest/exception.rb', line 7 def initialize( = nil, cause_exception = nil) = @cause = cause_exception end |
Instance Attribute Details
#cause ⇒ Object
Returns the value of attribute cause.
4 5 6 |
# File 'lib/azure/armrest/exception.rb', line 4 def cause @cause end |
#message ⇒ Object
16 17 18 |
# File 'lib/azure/armrest/exception.rb', line 16 def || self.class.name end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/azure/armrest/exception.rb', line 12 def to_s end |