Exception: RSpecBackgroundProcess::BackgroundProcess::StateError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RSpecBackgroundProcess::BackgroundProcess::StateError
- Defined in:
- lib/rspec-background-process/background_process.rb
Instance Method Summary collapse
-
#initialize(process, action, state) ⇒ StateError
constructor
A new instance of StateError.
Constructor Details
#initialize(process, action, state) ⇒ StateError
Returns a new instance of StateError.
36 37 38 |
# File 'lib/rspec-background-process/background_process.rb', line 36 def initialize(process, action, state) super "process #{process} can't #{action} when in state: #{state}" end |