Sha256: 1a5f8a81ea79dc1348b28bff3a27a3152de1094e84d11bba179e60859b5d9c07

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

module Workflow
  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 WorkflowError < Error; end

  class WorkflowDefinitionError < Error; end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
workflow-3.1.1 lib/workflow/errors.rb
workflow-3.1.0.pre lib/workflow/errors.rb
workflow-3.1.0 lib/workflow/errors.rb
workflow-3.0.0 lib/workflow/errors.rb
workflow-2.0.2 lib/workflow/errors.rb
workflow-2.0.1 lib/workflow/errors.rb
workflow-2.0.0 lib/workflow/errors.rb
workflow-2.0.0.pre lib/workflow/errors.rb
workflow-orchestrator-1.3.1 lib/workflow/errors.rb
workflow-orchestrator-1.3.0 lib/workflow/errors.rb