Exception: BEL::Translate::TranslateError
- Inherits:
-
StandardError
- Object
- StandardError
- BEL::Translate::TranslateError
- 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
-
#initialize(format) ⇒ TranslateError
constructor
A new instance of TranslateError.
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 |