Exception: LanguageTool::APIError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/languagetool/api_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#exceptionObject (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

#typeObject



9
10
11
# File 'lib/languagetool/api_error.rb', line 9

def type

end