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.



306
307
308
309
310
311
312
# File 'exceptions.rb', line 306

def initialize(name)
  @name = name

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



304
305
306
# File 'exceptions.rb', line 304

def name
  @name
end