parameters: (self, exc_class, exc_args=None, loc=None)
docstring: Set exception state in the current function.
docstring_summary: Set exception state in the current function.
docstring_tokens: Set exception state in the current function .
function: def set_exception(self, exc_class, exc_args=None, loc=None):
          """Set exception state in the current function.
          """
          self.call_conv.set_static_user_exc(
              self.builder, exc_class, exc_args,
              loc=loc, func_name=self.func_ir.func_id.func_name,
          )
function_tokens: def set_exception ( self , exc_class , exc_args = None , loc = None ) : self . call_conv . set_static_user_exc ( self . builder , exc_class , exc_args , loc = loc , func_name = self . func_ir . func_id . func_name , )