Exception: Fudge::Exceptions::TaskGroupNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/fudge/exceptions.rb

Overview

Unknown task group error class

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TaskGroupNotFound

Returns a new instance of TaskGroupNotFound.



29
30
31
# File 'lib/fudge/exceptions.rb', line 29

def initialize(name)
  @name = name
end

Instance Method Details

#messageObject

error message



34
35
36
# File 'lib/fudge/exceptions.rb', line 34

def message
  "No task group found with name '#{@name}'"
end