Exception: TapUnavailableError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TapUnavailableError
- Defined in:
- exceptions.rb
Overview
Raised when a tap is unavailable.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ TapUnavailableError
constructor
A new instance of TapUnavailableError.
Constructor Details
#initialize(name) ⇒ TapUnavailableError
Returns a new instance of TapUnavailableError.
311 312 313 314 315 316 317 |
# File 'exceptions.rb', line 311 def initialize(name) @name = name super <<~EOS No available tap #{name}. EOS end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
309 310 311 |
# File 'exceptions.rb', line 309 def name @name end |