Exception: Fontist::Errors::UnsupportedTranscodeError

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

Overview

Transcoding errors

Instance Method Summary collapse

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