Exception: Fontist::Errors::FormulaNotFoundError

Inherits:
GeneralError
  • Object
show all
Defined in:
lib/fontist/errors.rb

Instance Method Summary collapse

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("    Formula '\#{formula}' not found locally nor available in the Fontist formula repository.\n    Perhaps it is available at the latest Fontist formula repository.\n    You can update the formula repository using the command `fontist update` and try again.\n  MSG\nend\n".chomp)