Exception: Telegram::Errors::Renderer::FormatNotSupportedError

Inherits:
CommonError
  • Object
show all
Defined in:
lib/telegram/errors/renderer/format_not_supported_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(template_format) ⇒ FormatNotSupportedError

Returns a new instance of FormatNotSupportedError.



7
8
9
# File 'lib/telegram/errors/renderer/format_not_supported_error.rb', line 7

def initialize(template_format)
  super "Format not supported: #{template_format}"
end