Sha256: 780d1360a3a790ea5bccfd987c88839a57e55ce14ff3bb9cee42293296ebaed2

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

module Workflow
  class TransitionHalted < StandardError

    attr_reader :halted_because

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

  end

  class NoTransitionAllowed < StandardError; end

  class WorkflowError < StandardError; end

  class WorkflowDefinitionError < StandardError; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workflow-1.2.0 lib/workflow/errors.rb