Exception: Fontist::Errors::MissingFontError
- Inherits:
 - 
      FontError
      
        
- Object
 - StandardError
 - GeneralError
 - FontError
 - Fontist::Errors::MissingFontError
 
 
- Defined in:
 - lib/fontist/errors.rb
 
Instance Attribute Summary
Attributes inherited from FontError
Instance Method Summary collapse
- 
  
    
      #initialize(font, style = nil)  ⇒ MissingFontError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MissingFontError.
 
Methods inherited from FontError
Constructor Details
#initialize(font, style = nil) ⇒ MissingFontError
Returns a new instance of MissingFontError.
      88 89 90 91 92 93  | 
    
      # File 'lib/fontist/errors.rb', line 88 def initialize(font, style = nil) name = prepare_name(font, style) msg = "#{name} font is missing, please run `fontist install '#{font}'` to download the font." super(msg, font, style) end  |