rethrow exceptions in console
Check error handler type hint. Closes #10