Exception: TapUnavailableError

Inherits:
RuntimeError
  • Object
show all
Defined in:
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.



292
293
294
295
296
297
298
# File 'exceptions.rb', line 292

def initialize(name)
  @name = name

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



290
291
292
# File 'exceptions.rb', line 290

def name
  @name
end