Exception: Fontist::Errors::UnsupportedTranscodeError
- Inherits:
-
GeneralError
- Object
- StandardError
- GeneralError
- Fontist::Errors::UnsupportedTranscodeError
- Defined in:
- lib/fontist/errors.rb
Overview
Transcoding errors
Instance Method Summary collapse
-
#initialize(source_format, target_format) ⇒ UnsupportedTranscodeError
constructor
A new instance of UnsupportedTranscodeError.
Constructor Details
#initialize(source_format, target_format) ⇒ UnsupportedTranscodeError
Returns a new instance of UnsupportedTranscodeError.
226 227 228 229 |
# File 'lib/fontist/errors.rb', line 226 def initialize(source_format, target_format) super("Cannot transcode from '#{source_format}' to '#{target_format}'. " \ "Supported: TTF/OTF to WOFF/WOFF2") end |