Exception: Fontist::Errors::UnsupportedFontError
- Inherits:
-
FontError
- Object
- StandardError
- GeneralError
- FontError
- Fontist::Errors::UnsupportedFontError
- Defined in:
- lib/fontist/errors.rb
Instance Attribute Summary
Attributes inherited from FontError
Instance Method Summary collapse
-
#initialize(font) ⇒ UnsupportedFontError
constructor
A new instance of UnsupportedFontError.
Methods inherited from FontError
Constructor Details
#initialize(font) ⇒ UnsupportedFontError
Returns a new instance of UnsupportedFontError.
114 115 116 117 118 119 120 121 122 |
# File 'lib/fontist/errors.rb', line 114 def initialize(font) msg = " Font '\#{font}' 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\n\n super(msg, font)\nend\n".chomp |