Module: CommandServiceObject::FailureHelper

Included in:
CaseBase
Defined in:
lib/command_service_object/helpers/failure_helper.rb

Instance Method Summary collapse

Instance Method Details

#fail!(message) ⇒ Object

Raises:



3
4
5
# File 'lib/command_service_object/helpers/failure_helper.rb', line 3

def fail!(message)
  raise Failure, message: message, command: cmd
end