Exception: CloudNotFoundException

Inherits:
Exception show all
Defined in:
lib/poolparty/exceptions/CloudNotFoundException.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#messageObject (readonly)

Returns the value of attribute message.



2
3
4
# File 'lib/poolparty/exceptions/CloudNotFoundException.rb', line 2

def message
  @message
end