code: def noexcept(func):
      @wraps(func)
      def wrapper(*args, **kwargs):
          try:
              return func(*args, **kwargs)
          except Exception as e:
              _SafeModeConfig.exception_callback(e, func)
  
      return wrapper
  
file_path: aim/aim/ext/exception_resistant.py
imports: import logging
  from functools import wraps
label_desc: Use image node_id 5 for calling a global function with example usage: noexcept(func) and returns: wrapper, func