Exception: Inprovise::MissingActionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/inprovise/execution_context.rb

Instance Method Summary collapse

Constructor Details

#initialize(action_ref) ⇒ MissingActionError

Returns a new instance of MissingActionError.



241
242
243
# File 'lib/inprovise/execution_context.rb', line 241

def initialize(action_ref)
  @action_ref = action_ref
end

Instance Method Details

#messageObject



245
246
247
# File 'lib/inprovise/execution_context.rb', line 245

def message
  "Action '#{@action_ref}' could not be found."
end