lib/operations/command.rb
# Works the same way as `call` but raises an exception on operation failure.
Works the same way as `call` but raises an exception on operation failure.
Works the same way as ` call ` but raises an exception on operation failure .
def call!(params, **context)
    result = call(params, **context)
    raise OperationFailed.new(result) if result.failure?
    result
  end
def call! ( params , ** context ) result = call ( params , ** context ) raise OperationFailed . new ( result ) if result . failure? result end
Works the same way as `call` but raises an exception on operation failure.
Works the same way as ` call ` but raises an exception on operation failure .
params
<not_specific>
context
<not_specific>