Exception: LanguageLayer::LanguagesException
- Inherits:
-
Exception
- Object
- Exception
- LanguageLayer::LanguagesException
- Defined in:
- lib/language_detection/languages/languages_exception.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ LanguagesException
constructor
A new instance of LanguagesException.
Constructor Details
#initialize(error) ⇒ LanguagesException
Returns a new instance of LanguagesException.
9 10 11 |
# File 'lib/language_detection/languages/languages_exception.rb', line 9 def initialize(error) self.error = error end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
7 8 9 |
# File 'lib/language_detection/languages/languages_exception.rb', line 7 def error @error end |