Exception: OperationInProgressError

Inherits:
RuntimeError
  • Object
show all
Defined in:
Library/Homebrew/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ OperationInProgressError

Returns a new instance of OperationInProgressError



281
282
283
284
285
286
287
288
289
# File 'Library/Homebrew/exceptions.rb', line 281

def initialize(name)
  message = <<~EOS
    Operation already in progress for #{name}
    Another active Homebrew process is already using #{name}.
    Please wait for it to finish or terminate it to continue.
    EOS

  super message
end