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.
363 364 365 366 367 368 369 |
# File 'exceptions.rb', line 363 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.
361 362 363 |
# File 'exceptions.rb', line 361 def name @name end |