class_docstr: Used with the ``with`` statement when calling delegate methods to
  log any exceptions with the given logger.  Any exceptions caught are
  converted to _QuietException
class_docstr_tok: ["Used","with","the","``","with","``","statement","when","calling","delegate","methods","to","log","any","exceptions","with","the","given","logger",".","Any","exceptions","caught","are","converted","to","_QuietException"]
code: def __exit__(
      self,
      typ: "Optional[Type[BaseException]]",
      value: Optional[BaseException],
      tb: types.TracebackType,
  ) -> None:
      if value is not None:
          assert typ is not None
          self.logger.error(
              "Uncaught exception", exc_info=(typ, value, tb)
          )
          raise _QuietException
  
imports: import asyncio
  import logging
  import re
  import types
  from tornado.concurrent import Future, future_add_done_callback, future_set_result_unless_cancelled
  from tornado.escape import native_str, utf8
  from tornado import gen
  from tornado import httputil
  from tornado import iostream
  from tornado.log import gen_log, app_log
  from tornado.util import GzipDecompressor
  from typing import cast, Optional, Type, Awaitable, Callable, Union, Tuple
label_desc: Use image node_id 3 for calling the _ExceptionLoggingContext obj's underlying member method code with example usage: obj.__exit__(typ, value, tb) without return types