Class: Bolt::NoImplementationError

Inherits:
Error
  • Object
show all
Defined in:
lib/bolt/task.rb

Instance Method Summary collapse

Constructor Details

#initialize(target, task) ⇒ NoImplementationError

Returns a new instance of NoImplementationError.



5
6
7
8
# File 'lib/bolt/task.rb', line 5

def initialize(target, task)
  msg = "No suitable implementation of #{task.name} for #{target.name}"
  super(msg, 'bolt/no-implementation')
end