Exception: Orca::MissingGroupError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/orca/suite.rb

Instance Method Summary collapse

Constructor Details

#initialize(group_name) ⇒ MissingGroupError

Returns a new instance of MissingGroupError.



50
51
52
# File 'lib/orca/suite.rb', line 50

def initialize(group_name)
  @group_name = group_name
end

Instance Method Details

#messageObject



54
55
56
# File 'lib/orca/suite.rb', line 54

def message
  "No Group or Node exists with the name '#{@group_name}'. Try one of: #{Orca::Group.names.join(', ')}"
end