<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _call_function(self, kwargs):
        '''
        Call target function that has been decorated.

        :return:
        '''
        if self._raise_later:
            raise self._raise_later  # pylint: disable=E0702

        if self._function:
            args, kwargs = self._get_args(kwargs)
            try:
                return self._function(*args, **kwargs)
            except TypeError as error:
                error = six.text_type(error).replace(self._function, self._orig_f_name)  # Hide hidden functions
                log.error(
                    'Function "%s" was not properly called: %s',
                    self._orig_f_name, error
                )
                return self._function.__doc__
            except Exception as error:
                log.error(
                    'Unhandled exception occurred in function "%s: %s',
                    self._function.__name__, error
                )
                raise error
        else:
            raise CommandExecutionError("Function is deprecated, but the successor function was not found.")