Sha256: 39e40f1ceac77293f9ffc98a3cfcfc20aeb5f9430404c2c7cd1fbc18c397ef7e

Contents?: true

Size: 256 Bytes

Versions: 7

Compression:

Stored size: 256 Bytes

Contents

module BusinessFlow
  # Exception raised by DSL when flow execution fails
  class FlowFailedException < RuntimeError
    attr_reader :flow

    def initialize(flow)
      super("Failed execution of #{flow.class.name}")
      @flow = flow
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
business_flow-0.9.0 lib/business_flow/flow_failed_exception.rb
business_flow-0.8.2 lib/business_flow/flow_failed_exception.rb
business_flow-0.8.1 lib/business_flow/flow_failed_exception.rb
business_flow-0.8.0 lib/business_flow/flow_failed_exception.rb
business_flow-0.7.0 lib/business_flow/flow_failed_exception.rb
business_flow-0.6.0 lib/business_flow/flow_failed_exception.rb
business_flow-0.5.2 lib/business_flow/flow_failed_exception.rb