BedrockStreaming/Tornado

Exception handling

b-viguier opened this issue · 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