Exception: TapNoCustomRemoteError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TapNoCustomRemoteError
- Defined in:
- exceptions.rb
Overview
Raised when run brew tap --custom-remote
without a remote URL.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ TapNoCustomRemoteError
constructor
A new instance of TapNoCustomRemoteError.
Constructor Details
#initialize(name) ⇒ TapNoCustomRemoteError
Returns a new instance of TapNoCustomRemoteError.
368 369 370 371 372 373 374 |
# File 'exceptions.rb', line 368 def initialize(name) @name = name super <<~EOS Tap #{name} with option `--custom-remote` but without a remote URL. EOS end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
366 367 368 |
# File 'exceptions.rb', line 366 def name @name end |