Exception: CloudNotFoundException
- Defined in:
- lib/poolparty/exceptions/CloudNotFoundException.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(msg = "Cloud not found") ⇒ CloudNotFoundException
constructor
A new instance of CloudNotFoundException.
Constructor Details
#initialize(msg = "Cloud not found") ⇒ CloudNotFoundException
Returns a new instance of CloudNotFoundException.
4 5 6 |
# File 'lib/poolparty/exceptions/CloudNotFoundException.rb', line 4 def initialize(msg="Cloud not found") @message = "Cloud not found: #{msg}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
2 3 4 |
# File 'lib/poolparty/exceptions/CloudNotFoundException.rb', line 2 def @message end |