Sha256: db06acb805b9c6d27bf1e3e51935a5bbafeeb82bd3320365f54a6c8060a57f28

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

module Workflower
  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 WorkflowerError < Error; end

  class WorkflowDefinitionError < Error; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workflower-0.2.5 lib/workflower/errors.rb