code: def critical_exception_handler(object):
      
  
      @functools.wraps(object)
      def critical_exception_handler_wrapper(*args, **kwargs):
          """
          Marks an object that would system exit in case of critical exception.
  
          :param \*args: Arguments.
          :type \*args: \*
          :param \*\*kwargs: Keywords arguments.
          :type \*\*kwargs: \*\*
          """
  
          _exceptions__frame__ = True
  
          try:
              return object(*args, **kwargs)
          except Exception as error:
              system_exit_exception_handler(error)
  
      return critical_exception_handler_wrapper
docs: Marks an object that would system exit in case of critical exception.
  
      :param object: Object to decorate.
      :type object: object
      :return: Object.
      :rtype: object