Method: LanguageTool::Actions::Base#safe_run
- Defined in:
- lib/languagetool/actions/base.rb
#safe_run ⇒ Object
15 16 17 18 19 |
# File 'lib/languagetool/actions/base.rb', line 15 def safe_run run rescue => e raise APIError, e end |
15 16 17 18 19 |
# File 'lib/languagetool/actions/base.rb', line 15 def safe_run run rescue => e raise APIError, e end |