Class: Flock::UnknownStateError
- Inherits:
-
FlockException
- Object
- Flock::UnknownStateError
- Defined in:
- lib/flock.rb
Instance Method Summary collapse
-
#initialize(state) ⇒ UnknownStateError
constructor
A new instance of UnknownStateError.
Constructor Details
#initialize(state) ⇒ UnknownStateError
Returns a new instance of UnknownStateError.
41 42 43 |
# File 'lib/flock.rb', line 41 def initialize(state) super("Unable to look up id for state #{state.inspect}. Valid states are #{ Flock::QueryTerm::STATES.keys.map{|s| s.inspect }.join(', ') }") end |