Sha256: 122498c5ade3f0fefe555ce20dc840cde40d7623ae1a980bc508516de1c2bc81

Contents?: true

Size: 430 Bytes

Versions: 8

Compression:

Stored size: 430 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

module Stealth
  module Flow
    class Error < StandardError; end

    class TransitionHalted < Error

      attr_reader :halted_because

      def initialize(msg = nil)
        @halted_because = msg
        super msg
      end

    end

    class NoTransitionAllowed < Error; end

    class StealthFlowError < Error; end

    class StealthFlowDefinitionError < Error; end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stealth-0.9.8 lib/stealth/flow/errors.rb
stealth-0.9.7 lib/stealth/flow/errors.rb
stealth-0.9.6 lib/stealth/flow/errors.rb
stealth-0.9.5 lib/stealth/flow/errors.rb
stealth-0.9.4 lib/stealth/flow/errors.rb
stealth-0.9.3 lib/stealth/flow/errors.rb
stealth-0.9.2 lib/stealth/flow/errors.rb
stealth-0.9.1 lib/stealth/flow/errors.rb