Exception: ScpDownloadStrategyError

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

Overview

Raised in ScpDownloadStrategy#fetch.

Instance Method Summary collapse

Constructor Details

#initialize(cause) ⇒ ScpDownloadStrategyError

Returns a new instance of ScpDownloadStrategyError



517
518
519
# File 'brew/Library/Homebrew/exceptions.rb', line 517

def initialize(cause)
  super "Download failed: #{cause}"
end