Exception: BEL::Translate::TranslateError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bel/translate.rb

Overview

TranslateError represents an error when the specified format is not supported by any translator plugin.

Constant Summary collapse

FORMAT_ERROR =
%Q{Format "%s" is not supported.}

Instance Method Summary collapse

Constructor Details

#initialize(format) ⇒ TranslateError

Returns a new instance of TranslateError.



103
104
105
# File 'lib/bel/translate.rb', line 103

def initialize(format)
  super(FORMAT_ERROR % format)
end