Sha256: 93e22501704e6eb129310544a7ac2b0b40c5f810dca03b9464cd7ca757b2c410

Contents?: true

Size: 207 Bytes

Versions: 9

Compression:

Stored size: 207 Bytes

Contents

module Rworkflow
  class StateError < StandardError
    attr_reader :name

    def initialize(name)
      @name = name
    end

    def message
      return "#{@name} state does not exist"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rworkflow-0.7.3 lib/rworkflow/state_error.rb
rworkflow-0.7.2 lib/rworkflow/state_error.rb
rworkflow-0.7.1 lib/rworkflow/state_error.rb
rworkflow-0.7.0 lib/rworkflow/state_error.rb
rworkflow-0.6.5 lib/rworkflow/state_error.rb
rworkflow-0.6.4 lib/rworkflow/state_error.rb
rworkflow-0.6.3 lib/rworkflow/state_error.rb
rworkflow-0.6.2 lib/rworkflow/state_error.rb
rworkflow-0.6.1 lib/rworkflow/state_error.rb