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

def add_cause(self, error: Exception):
        '''Adds cause error to error message'''
        self.add_info('Cause error', '{0} - {1}'.format(type(error).__name__, error))