Exception: Mutx::Error::TaskNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mutx/error/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ TaskNotFound

Returns a new instance of TaskNotFound.



51
52
53
54
# File 'lib/mutx/error/errors.rb', line 51

def initialize(message=nil)
  message ="Task not foun" if message.nil?
  super(message)
end