Exception: LanguageLayer::BatchException
- Inherits:
-
Exception
- Object
- Exception
- LanguageLayer::BatchException
- Defined in:
- lib/language_detection/batch/batch_exception.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ BatchException
constructor
A new instance of BatchException.
Constructor Details
#initialize(error) ⇒ BatchException
Returns a new instance of BatchException.
9 10 11 |
# File 'lib/language_detection/batch/batch_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/batch/batch_exception.rb', line 7 def error @error end |