Exception: LanguageTool::APIError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- LanguageTool::APIError
- Defined in:
- lib/languagetool/api_error.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Instance Method Summary collapse
-
#initialize(e) ⇒ APIError
constructor
A new instance of APIError.
- #type ⇒ Object
Constructor Details
#initialize(e) ⇒ APIError
Returns a new instance of APIError.
5 6 7 |
# File 'lib/languagetool/api_error.rb', line 5 def initialize(e) @exception = e end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
3 4 5 |
# File 'lib/languagetool/api_error.rb', line 3 def exception @exception end |
Instance Method Details
#type ⇒ Object
9 10 11 |
# File 'lib/languagetool/api_error.rb', line 9 def type end |