docstr: Re-raise an exception after logging it to Sentry.
  
  Use this for top-level exceptions when you want the user to see the traceback.
  
  Must be called from within an exception handler.
docstr_tok: ["Re-raise","an","exception","after","logging","it","to","Sentry",".","Use","this","for","top-level","exceptions","when","you","want","the","user","to","see","the","traceback",".","Must","be","called","from","within","an","exception","handler","."]
code: def reraise(self, exc: Any) -> None:
      """Re-raise an exception after logging it to Sentry.
  
      Use this for top-level exceptions when you want the user to see the traceback.
  
      Must be called from within an exception handler.
      """
      self.exception(exc)
      # this will messily add this "reraise" function to the stack trace,
      # but hopefully it's not too bad
      raise exc.with_traceback(sys.exc_info()[2])
  
imports: import atexit
  import functools
  import os
  import pathlib
  import sys
  from types import TracebackType
  from typing import TYPE_CHECKING, Any, Callable, Dict, Optional, Tuple, Type, Union
  from urllib.parse import quote
  import sentry_sdk
  import sentry_sdk.utils
  import wandb
  import wandb.env
  import wandb.util
label_desc: Use image node_id 6 for calling the Sentry obj's underlying member method code with example usage: obj.reraise(exc) without return types