Exception: Fontist::Errors::TranscodeLicenseNotAcceptedError

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

Overview

License-related transcoding error

Instance Method Summary collapse

Constructor Details

#initialize(font_name) ⇒ TranscodeLicenseNotAcceptedError

Returns a new instance of TranscodeLicenseNotAcceptedError.



254
255
256
257
258
259
# File 'lib/fontist/errors.rb', line 254

def initialize(font_name)
  super("Font '#{font_name}' requires license agreement. " \
        "Transcoding is a form of modification that may not be permitted " \
        "by all licenses. Please accept the license with " \
        "--accept-all-licenses to proceed with transcoding.")
end