Sha256: 2707792a0d16b706409fa521dc327a5165a8df68364acdd06f07ce34be23aac6

Contents?: true

Size: 242 Bytes

Versions: 8

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

module Atacama
  class HaltExecution < StandardError
    attr_reader :value

    def initialize(value)
      super('Execution was halted and yielding a value with #value')
      @value = value
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
atacama-0.1.7 lib/atacama/transaction/halt_execution.rb
atacama-0.1.6 lib/atacama/transaction/halt_execution.rb
atacama-0.1.5 lib/atacama/transaction/halt_execution.rb
atacama-0.1.4 lib/atacama/transaction/halt_execution.rb
atacama-0.1.3 lib/atacama/transaction/halt_execution.rb
atacama-0.1.2 lib/atacama/transaction/halt_execution.rb
atacama-0.1.1 lib/atacama/transaction/halt_execution.rb
atacama-0.1.0 lib/atacama/transaction/halt_execution.rb