Exception: TapUnavailableError

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

Overview

Raised when a tap is unavailable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TapUnavailableError

Returns a new instance of TapUnavailableError.


257
258
259
260
261
262
263
# File 'Library/Homebrew/exceptions.rb', line 257

def initialize(name)
  @name = name

  super <<~EOS
    No available tap #{name}.
  EOS
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name


255
256
257
# File 'Library/Homebrew/exceptions.rb', line 255

def name
  @name
end