Exception: Mutineer::ConcurrentRunError
- Inherits:
-
StandardError
- Object
- StandardError
- Mutineer::ConcurrentRunError
- Defined in:
- lib/mutineer/file_swap.rb
Overview
Raised when another process already holds exclusive ownership of a source file. Aborting beats silently restoring (or capturing) the other run's mutant.
Instance Method Summary collapse
- #initialize(path) ⇒ ConcurrentRunError constructor
Constructor Details
#initialize(path) ⇒ ConcurrentRunError
12 13 14 |
# File 'lib/mutineer/file_swap.rb', line 12 def initialize(path) super("another mutineer run owns #{path} — aborting to avoid corrupting the source file.") end |