Exception: Mack::Localization::Errors::UnsupportedEncoding
- Inherits:
-
StandardError
- Object
- StandardError
- Mack::Localization::Errors::UnsupportedEncoding
- Defined in:
- lib/mack-localization/errors.rb
Overview
Raise this error when caller specified an unsupported char encoding. This feature is not currently supported yet.
Instance Method Summary collapse
-
#initialize(encoding) ⇒ UnsupportedEncoding
constructor
A new instance of UnsupportedEncoding.
Constructor Details
#initialize(encoding) ⇒ UnsupportedEncoding
Returns a new instance of UnsupportedEncoding.
20 21 22 |
# File 'lib/mack-localization/errors.rb', line 20 def initialize(encoding) super("Encoding: #{encoding} is not currently supported") end |