Exception: Fontist::Errors::FormulaNotFoundError
- Inherits:
-
GeneralError
- Object
- StandardError
- GeneralError
- Fontist::Errors::FormulaNotFoundError
- Defined in:
- lib/fontist/errors.rb
Instance Method Summary collapse
-
#initialize(formula) ⇒ FormulaNotFoundError
constructor
A new instance of FormulaNotFoundError.
Constructor Details
#initialize(formula) ⇒ FormulaNotFoundError
Returns a new instance of FormulaNotFoundError.
32 33 34 35 36 37 38 |
# File 'lib/fontist/errors.rb', line 32 def initialize(formula) super(<<~MSG.chomp) Formula '#{formula}' not found locally nor available in the Fontist formula repository. Perhaps it is available at the latest Fontist formula repository. You can update the formula repository using the command `fontist update` and try again. MSG end |