Exception: Fontist::Errors::ManualFontError
- Inherits:
-
FontError
- Object
- StandardError
- GeneralError
- FontError
- Fontist::Errors::ManualFontError
- Defined in:
- lib/fontist/errors.rb
Instance Attribute Summary
Attributes inherited from FontError
Instance Method Summary collapse
-
#initialize(font, formula) ⇒ ManualFontError
constructor
A new instance of ManualFontError.
Methods inherited from FontError
Constructor Details
#initialize(font, formula) ⇒ ManualFontError
Returns a new instance of ManualFontError.
106 107 108 109 110 |
# File 'lib/fontist/errors.rb', line 106 def initialize(font, formula) msg = "'#{font}' font is missing.\n\n#{formula.instructions}" super(msg, font) end |