Tornado icon indicating copy to clipboard operation
Tornado copied to clipboard

Exception handling

Open b-viguier opened this issue 5 years ago • 0 comments

Currently, any exception thrown by an adapter is propagated to upper context outside of Tornado. It means that if you intend to catch a particular exception, it may be broken as soon as you change the used adapter.

Proposal:

  • Catch underlying exceptions and translate them in "Tornado exceptions" (to be created)
  • Use @throws annotation to document this behavior and improve developer experience with IDE

b-viguier avatar Oct 31 '19 08:10 b-viguier