Exception: Cask::CaskTokenMismatchError Private
- Inherits:
- CaskInvalidError
- Object
- RuntimeError
- CaskError
- AbstractCaskErrorWithToken
- CaskInvalidError
- Cask::CaskTokenMismatchError
- Defined in:
- cask/exceptions.rb
Overview
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Error when a cask token does not match the file name.
Instance Attribute Summary
Attributes inherited from AbstractCaskErrorWithToken
Instance Method Summary collapse
- #initialize(token, header_token) ⇒ void constructor private
Constructor Details
#initialize(token, header_token) ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
191 192 193 | # File 'cask/exceptions.rb', line 191 def initialize(token, header_token) super(token, "Token '#{header_token}' in header line does not match the file name.") end |
© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Cask/CaskTokenMismatchError.html