Exception: Heathen::TaskNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/heathen/errors.rb

Overview

Raised by [Converter] if it is unable to find a task to satisfy the requested action.

Instance Method Summary collapse

Constructor Details

#initialize(action, mime_type) ⇒ TaskNotFound

Returns a new instance of TaskNotFound.


17
18
19
# File 'lib/heathen/errors.rb', line 17

def initialize action, mime_type
  super "No task found for action: '#{action}', mime_type: '#{mime_type}'"
end