Exception: RSpecBackgroundProcess::BackgroundProcess::StateError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rspec-background-process/background_process.rb

Instance Method Summary collapse

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