<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def critical_exception_handler(object):
 """ Marks an object that would system exit in case of critical exception. :param object: Object to decorate. :type object: object :return: Object. :rtype: 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